Apache aliases will not be honored by php inlcudes which
are inherently file operations. Symbolic links are the proper method, but
be sure that permissions on the target directory are correct and that your
apache is configured to follow symbolic links. That is not the default
apache configuration.
Dave
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@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@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