Hello
I have read many of the multisite setup articles/book pages but can't get mine to work. I am a programmer. I have done this before in a different multisite setup. This one is giving me grief and I need help:
Directories:
sites/default/
settings.php
files/
tmp/
sites/mysite
settings.php
files/
tmp/
sites/mysite1
settings.php
files/
modules/
themes/
tmp/
sites/mysite2
settings.php
files/
modules/
themes/
tmp/
It's a typical multisite setup folder-wise. Now the problem comes in accessing mysite/mysite1 because of redirects. I can't figure out what is missing or what. In apache I have setup an Alias to point /mysite1 to /home/myuser/public_html/. I have tried many variations with rewrite rules and cond's. This is what I have in my htaccess, if a multisite pro out there sees what is wrong I would greatly appreciate the help. Even if you're not a multisite pro, your suggestions are more than welcome!
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/mysite1/(.*)$
RewriteRule ^(.*)$ /mysite1/index.php?q=$1 [L,QSA]
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
#RewriteCond %{REQUEST_URI} !^/mysite1/(.*)$
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
When I go to mysite.com/mysite1, I get a 404 at the url mysite.com/?=mysite1
When I go to mysite.com/mysite1/install.php, I get that Drupal is already installed at mysite.com/install.php?q=mysite1/install.php
Suggestions?