aMule Forum
English => aMule Help => Topic started by: gasparov on January 17, 2006, 10:09:45 AM
-
Hi,
I need help in setting up apache in order to make it able to reach /home/user/.aMule where the html generated by cas is.
I'm a apache newbie and this thing yesterday drove me nuts.As far as I know my apache user on Debian Stable is www-data and by default it cannot access to the home dir of different users.(like the one is running amule).,this means it cannot access the html file and the directories too.
A solution should be
dpkg-reconfigure adduser
and setting system-wide readable home directories,is this secure?I mean..is there another way?
-
No it isn't secure. I would suggest, to link the file from your home to your webserver dir and set the rights to worldreadable for this file only.
-
Hi,thanks for reply
I tried but my apache doesn't understand that it must follow symlinks:
in httpd.conf
Options FollowSymLinks
AllowOverride None
the soft link is in /var/www/amule/amulecas.html and is linked to /home/gas/.aMule/aMulexxxxx.html
apache errorlog:
[Tue Jan 17 11:04:23 2006] [error] [client 192.168.1.9] Symbolic link not allowed: /var/www/amule/amulecas.html
[Tue Jan 17 11:04:23 2006] [error] [client 192.168.1.9] Symbolic link not allowed: /var/www/amule/amulecas.html
This is one of the things that yesterday drove me nuts....
-
ok,
I'm getting stupid,I did a cron job to copy the cas generated file to a directory properly served by apache even if i'd like to know how the hell i can allow synlinks ?(
-
Maybe you don't gave apache the right the read the symlink or the target.