Drupal Multisite - Subdirectory, Shared Hosting
Posted
by derekerdmann
on Stack Overflow
See other posts from Stack Overflow
or by derekerdmann
Published on 2010-04-14T13:50:51Z
Indexed on
2010/04/14
13:53 UTC
Read the original article
Hit count: 224
I'm trying to set up Drupal multisite in a shared hosting environment. The main site's location looks like http://www.mysite.com/foo/bar/ and my goal is to create another site using the same database at http://www.mysite.com/foo/bar/drupal2.
I've created a new folder in the sites directory called www.mysite.com.foo.bar.drupal2 and added the default.settings.php and settings.php files, configured correctly for the environment, and I've set up a symlink from the main site's root to the subdirectory, with this command:
ln -s . drupal2
The problem is that when I go to http://www.mysite.com/foo/bar/drupal2, I just get the main site at http://www.mysite.com without triggering the installer.
What do I need to change to get the multisite working?
© Stack Overflow or respective owner