Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've searched through the massive amount of information on DA and DNS, but found nothing useful.
These are my Drupal websites:
example.com
one.example.com
two.example.com
They have non-drupal foto galleries:
example.com/gallery
one.example.com/gallery
two.example.com/gallery
I want to use DA to merge all my drupal sites to one, but that shouldn't affect non-drupal galleries.
Right now after DA installation and configuration example.com/gallery overrides both one.example.com/gallery and two.example.com/gallery
Is there a way to solve it? Thank you.
Comments
Comment #1
agentrickardI don't know. Perhaps with an exception rule in mod_rewrite or .htaccess?
Best to ask your sysadmin.
Comment #2
gutarim CreditAttribution: gutarim commentedThis would normally work:
RewriteCond %{REQUEST_URI} !^/gallery/?$
But it doesn't.
Something overwrites this rule. I have no idea what.
Comment #3
agentrickardThat would likely be something at the DNS/VHosts level. If the /gallery directory exists, it would be served by Apache. Drupal is only invoked on 404.