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 / and /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
I used 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?

DocumentRootto/home/user/wwwwould have the same effect) so you can change the permissions back to something sane before you put that server live. – Shadur Oct 23 '11 at 9:52ls -la /home/user/www? – quanta Oct 24 '11 at 3:22