Posted by Anonymous on June 16, 2010 at 9:18pm
Hello and thank you for Mercury/Pantheon, now Drupal flies ;)
Is it possible to install the main site outside /var/www or inside a subdirectory (/var/www/mainsite). I know version 1.1 has multisite support, but is it compatible with vhosts (other websites on the same server)?
Thank you in advance
Comments
You can move the Drupal
You can move the Drupal pressflow web files of a Mercury install anywhere you want -- just make sure you edit /etc/apache2/available-sites appropriately. Not sure how this affects future mercury upgrades.
Regarding multi-site support, you can do it with 1.0 -- just make sure the memcache prefixes are unique in each of the sites settings.php file. See this for more info: http://groups.drupal.org/node/58838
Word on the street is that solr isn't working for multisites. Haven't tried that though as I'm not using solr for my setup.
re: You can move the Drupal
Thanks for answering the OP's questions.
The /etc/apache2/sites-available/default file is under bcfg2 control - so running /usr/local/bin/update_mercury.sh will overwrite the file. We'll look at changing that.
Agreed about Memcached - I wanted to point out that 1.1 (which is still beta) supports this out-of-the-box (see http://groups.drupal.org/node/72488). That link also explains how to setup multi-site ApacheSolr in 1.1.
Hope this helps,
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
Thank you for your fast
Thank you for your fast answer I'll try your recommendations