-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drupal multisite as subfolder #95
Comments
If we replace nginx container with wodby apache, it works as expected. |
@csandanov it looks like related to it looks like the variable https://nginx.org/en/docs/http/ngx_http_core_module.html#var_realpath_root |
So in the meantime, it's fixed in wodby nginx itself, I tried to use custom preset to see if my theory is exact. So I created a preset called By using this custom preset website is still working :-)
Now it looks like replacing For example those locations won't work for subfolders, so need to be also modified to allow any subfolder prefix, that could potentially open more security issues:
|
I'm struggling to create multisites as subfolders in a Drupal 10.
For example my Drupal website has this url: http://d10.docker.localhost
And my multisites should be of this form:
So inside my sites.php I have:
And each multisites have their own folder under /var/www/html/web/sites with settings.php with their own database (for now empty)
According Drupal 7 documentation (Doc for Drupal 8/9/10/11 was not updated), we also need to create symlinks for each multisite in web/ folder pointing to web.
So from /var/www/htm/web I did
If I test
drush status
inside multisite folder, I can see correct multisite detected.So for Drupal, multisite seems correctly declared.
But when I browse urls:
So according 3., it seems nginx follows correctly the symlinks, but according 2. and 3. it seems there is something wrong with priority and symlinks.
The text was updated successfully, but these errors were encountered: