I'm configuring my local Apache webserver after a fresh Kubuntu 14.04 install. Apache version is 2.4.7.
I usually work with files located in a separated partition (
/dev/sdb6 here), and create symbolic links into
The fact is it does only works with symlinks pointing to
/home/user/someFolder, but it doesn't with folders located on the partition. This partition is
ext4, and mounted in
media/user/partitionName. This directory is owned by my user, and has
x permission bits for every subfolders. The user
www-data is assigned to my group, and my user is assigned to group
apache2.conf file (and all eventual other vhosts conf files) have the
FollowSymLinks option for the
<Directory /var/www/> directive.
What do I miss ? The weird thing is that it follows the symlinks pointing to
/home/user/something... But not the ones pointing to another location. This result in a:
AH00037: Symbolic link not allowed or link target not accessible: /var/www/somelink
I even tried to add the option
-SymLinksIfOwnerMatch to be sure it doesn't have to be the same user for the target (even if I know it's the same), but no change.