[support] multisite - document tree vs. file tree

Jim Tarvid tarvid at ls.net
Wed May 5 03:09:30 UTC 2010


I want to run a multisite installation where sites/domain_name is in the
user file space. A symlink seems to do the trick.

root at helen:~# ls -la /home/lsnet/public_html/drupal.ls.net/sites/
total 16
drwxr-xr-x  4 lsnet lsnet 4096 2010-05-04 17:16 .
drwxr-xr-x 10 lsnet lsnet 4096 2010-03-06 14:28 ..
lrwxrwxrwx  1 lsnet lsnet   36 2010-05-04 15:08 adumbral.ls.net ->
/home/adumbral/sites/adumbral.ls.net
drwxr-xr-x  4 lsnet lsnet 4096 2010-03-03 19:20 all
drwxr-xr-x  4 lsnet lsnet 4096 2010-03-03 19:20 default
lrwxrwxrwx  1 lsnet lsnet   41 2010-05-04 17:16 wordsoftheprophets.org ->
/home/tarvid/sites/wordsoftheprophets.org

root at helen:~# cat /etc/apache2/sites-available/wordsoftheprophets.org
<VirtualHost *>

    DocumentRoot "/home/lsnet/public_html/drupal.ls.net"
    ServerName wordsoftheprophets.org

    <Directory "/home/lsnet/public_html/drupal.ls.net">
        allow from all
                AllowOverride AuthConfig FileInfo Indexes Limit Options
                Options FollowSymLinks SymLinksIfOwnerMatch +Indexes
    </Directory>

    ServerAlias www.wordsoftheprophets.org
</VirtualHost>

I tried to do this with an alias in sites-available.

   Alias /sites/wordsoftheprophets.org /home/tarvid/sites/
wordsoftheprophets.org

Which does not work.

Is this because Drupal examines the file tree instead of the document tree?

Jim

-- 
Rev. Jim Tarvid, PCA
Galax, Virginia
http://ls.net
http://drupal.ls.net
http://crossleft.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100504/bb86e15e/attachment.html 


More information about the support mailing list