I am trying to have a multi-site installation with clean urls and have a few problems (it's taken me a while to get this far). I cannot find anything about this in the forums.
My setup is of the form:
mysite/
mysite/site2
My Apache DocumentRoot is set to /var/www/localhost/htdocs and there is an alias to the second site:
Alias /test "/var/www/localhost/htdocs"
My sites dir is set up with default and test subdirs. Multi-site works, and clean_urls work on the base site.
All seems fine until I try to set up clean_urls on the second site (mysite/site2) -- the drupal admin/settings test fails. How can I fix or debug this? Where are the rewrite rules stored for the second site? (I'm assuming that they are in the same .htaccess file -- perhaps even just the same rules). I tried to turn on the urls (and url_test) in MySQL but it still didn't work.
Something is happening with ModRewrite during the test as the rewrite.log that I've set up includes this:
127.0.0.1 - - [15/Sep/2005:18:22:50 --0400] [mysite/sid#80a2bd8][rid#820f150/initial/redir#1] (3) [per-dir /var/www/localhost/htdocs/] strip per-dir prefix: /var/www/localhost/htdocs/index.php -> index.php
127.0.0.1 - - [15/Sep/2005:18:22:50 --0400] [mysite/sid#80a2bd8][rid#820f150/initial/redir#1] (3) [per-dir /var/www/localhost/htdocs/] applying pattern '^(.*)$' to uri 'index.php'