You are not logged in.
Hello,
i have a problem with xampp, but is the same if i use apache or lighttpd.. xampp uses /opt/lampp/htdocs/ for the DocumentRoot, but all my work is in /home/kcr/working and i want leave that there.. if i change the DocumentRoot with
DocumentRoot="/home/kcr/working"
my browser give me the 403 error..what i want is the possibilty of browsing my own work directory...
what can i do?
thanks
Last edited by kcr (2008-10-23 19:22:13)
Offline
have you tried using /home/kcr/public_html to see if you get any errors?
Offline
Users' home directories are assigned 700 (drwx------) permissions by default. Therefore, the web server, which is running under "http", is unable to access your ~. You can either run the web server under your user account, or alter your home folder's permissions to allow access to the web server (755 maybe).
Last edited by foutrelis (2008-10-22 18:12:46)
Offline
thanks, i will change my home folder's permission...
thanks to everyone..
Offline
hello,
meanwhile i tried lighttpd an now i'm using it... thanks to the wiki it works perfect but i have a question...
my friend at home has apache and he can browse all the directories in his directory-server with his browser.. how can i do this with lighttpd?
thanks
kcr
Offline
hello,
my friend at home has apache and he can browse all the directories in his directory-server with his browser.. how can i do this with lighttpd?
Uncomment line 176 in /etc/lighttpd/lighttpd.conf:
dir-listing.activate = "enable"
Offline