We've got a multi-site install on Amazon's AWS that used the Bitnami Drupal image (ami-3f21aa56 - 64bit, Unbuntu) as a base. Per the documentation, each site has it's own subdirectory in the sites folder. Each site has a corresponding DNS A record that is pointed at our server. Drupal handles the traffic via the sites.php file and that's been working well so far.
Now I'm trying to implement Clean URLs and the test continues to fail. I've played with the Rewrite settings in the .conf files per various recommendations around the web but nothing has worked so far.
mod_rewrite is enabled. My current drupal.conf file is:
# App url moved to root DocumentRoot "/home/bitnami/apps/drupal/htdocs" #Alias /drupal/ "/opt/bitnami/apps/drupal/htdocs/" #Alias /drupal "/opt/bitnami/apps/drupal/htdocs" <Directory "/home/bitnami/apps/drupal/htdocs"> Options +MultiViews AllowOverride All <IfVersion < 2.3 > Order allow,deny Allow from all </IfVersion> <IfVersion >= 2.3> Require all granted </IfVersion> </Directory> # Uncomment the following lines to see your application in the root # of your URL. This is not compatible with more than one application. # RewriteEngine On # RewriteRule ^/$ /drupal/ [PT]
The htaccess.conf (I believe this is Bitnami's way to have a global .htaccess for drupal 7, including multisite config) is as follows (apologies for the length):
When it comes to server configuration, I am lucky to spell Apache. I've played with a few settings but I am feeling quite out of my depth, especially with regard to Drupal Multisite. If someone can point me in the right direction, it would be very much appreciated.