Drupal Multisite - subdirectory, shared hosting
I am trying to set up Drupal 6 multisite in a co-hosted environment. The main site location looks like http://www.mysite.com/foo/bar/ and my goal is to create another site using the same database http://www.mysite.com/foo/bar/drupal2 .
I 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 set up a symlink from the root of the main site to a subdirectory with with this command:
ln -s . drupal2
The problem is, when I go to http://www.mysite.com/foo/bar/drupal2 , I just get the main site http://www.mysite.com without running the installer.
What do I need to change to work with multiple users?
a source to share
There's a section on Multilingual Instructions on drupal.org.
The reason what you did doesn't work is because you symbolized the whole site, so there won't be any difference, you will get the same settings.php file with the same db settings, etc.
magic
happens in the sites folder, have a look at this man page , it looks like this is what you are after.
a source to share
Perhaps you need to set $base_url
to http://www.mysite.com/foo/bar/drupal2 in settings.php in the "... / drupal2" installation.
a source to share