I have to recreate two sites locally which already live on a server as a multisite setup. I tried to follow different tutorials, but somehow it doesn't work out.
After a lot of work and messing with /etc/hosts and adding Virtual Hosts to the httpd.conf of Mamp, as well as different other things including trying VirtualHostX, I got as far as being able to use one site with a localhost/*, but only if the site is installed in the sites/default/ folder.Which means it is not multisite, and I have to work at one site at a time, and then painfully make another site use sites/default when I want to work with that.
- There is the default .htaccess doc in the drupal root.
- I have troubleshooted file permissions as far as my knowledge took me there.
Has anyone of you ever encountered this problem? If it is something obvious for you, could you point me to it?
Thanks a lot in advance!
Comments
Sounds like what you need to
Sounds like what you need to do is setup the folder names locally for the multisite to be like site1 and site2. Then you'll need 2 symlinks on ur desktop. Go into the webroot folder / htdocs / whatever its called where youj have drupal and then create a symlink that points from inside the webroot back into itself (basically making an infinite loop). So that the (drupalfolder)/ has a (drupalfolder)/site1 which symlinks into (drupalfolder). Should do the trick for both as long as u make one for each
Ex Uno Plures
http://elmsln.org/
http://btopro.com/
http://drupal.psu.edu/
Drupal 7 has better support
Drupal 7 has better support for this built-in: http://www.drupalcoder.com/story/544-drupal-7-multisite-improvement-mult...