drupal-with-nginx
drupal-with-nginx copied to clipboard
Symlink in document root produce error 404
I'm using the module subfolders domains (https://www.drupal.org/project/subfolders_domain) to create domains as subfolders(uri) of my main domain. PS: This module is using the module Domain Access
This module create symbolic links in drupal document root for each subfolder.
Example in my drupal document root I have several symlinks:
france -> /var/www/drupal uk -> /var/www/drupal index,php modules themes sites...
If I browse to maindomain.com/france I should see the content of my domain france, but instead I see a 404 error.
I tried the setting disable_symlink http://nginx.org/en/docs/http/ngx_http_core_module.html#disable_symlinks
But still no success.
Any idea ?