I suspect it's because my hosting company hates me. I'm attempting to get my eleventh (!) testbed up and running and I simply cannot get my multisite installation up and running. I've done this TEN TIMES PREVIOUSLY with the same host, each time with various issues but I've gotten it done regardless.
Attempt #1, preferred method:
* Created directory sites/domain.com.subdir
* Copied default.settings.php to directory sites/domain.com.subdir
* Duplicated default.settings.php and renamed the duplicate settings.php. Both files are in the directory
* Set directory permission to 755
* Set file permissions, variably, to 644, 666 and 777
* Created a symlink called subdir pointed at sites/domain.com.subdir
When I browse to www.domain.com/subdir I get the usual "Choose your language" screen. I choose English, the page sits there about two minutes, and then I get a "Page Not Found". Doesn't matter what permission I've set on settings.php -- same result every time.
Attempt #2, acceptable method and I'll take anything that works:
* Created directory sites/subd.domain.com
* Copied default.settings.php to directory sites/subd.domain.com
* Duplicated default.settings.php and renamed the duplicate settings.php. Both files are in the directory
* Set directory permission to 755
* Set file permissions, variably, to 644, 666 and 777
When I browse to subd.domain.com I get the usual "Choose your language" screen. I choose English, and almost immediately the page refreshes and I'm again presented with the "Choose your language" screen. I can choose it 20 times and it always comes back to that page. I never get to the " configure your database" form. Doesn't matter what permissions I've set on settings.php -- same result every time.
So...like I said, I've done this 10 times before. The hosting company swears up and down they haven't done anything on their end. I'm so frustrated. Any other thoughts?
Comments
* Created a symlink called
* Created a symlink called subdir pointed at sites/domain.com.subdir
You don't point the symlink to the sites directory. You point it to the root of the Drupal install. Something like public_html/subsite pointing to public_html. Yes, pointing to the folder it is in. You always need your web server to point to the index.php file which is in the root of the Drupal install; regardless of whether you are doing sub-folder type sub-sites or sub-domains.