Running Arch Linux I am trying to get apache to use /www (not /var/www) as DocumentRoot. /www is a softlink to /home/user/www. However, I keep getting an "Access Forbidden" error. The
/home folders are part of different partitions. Could this be the problem?
I have already excluded as a problem:
- CHMOD permission issues. All directories have 777 and are owned by Apache. The symlink as well.
- FollowSymLinks option is working fine. If I link /www to /srv/http it does work. It's only when I point it to the /home/ folder that it stops working.
The exact error in the Apache error log is:
[Sun Oct 23 09:52:24 2011] [error] [client 127.0.0.1] Symbolic link not allowed or link target not accessible: /www
strace to see if that would provide something useful, but it did not provide any clue.
Anybody any idea? If the problem indeed is that the symlink refers to a folder on another partition, is there some workaround?