Acces Denied Error 403
Added by nesousx about 16 years ago
Hi all,
I tried to install lighty with apt-get under Ubuntu server 8.04.
I followed this guide http://www.ubuntugeek.com/lighttpd-webserver-setup-with-php5-and-mysql-support.html , also a bit this one : http://www.cyberciti.biz/tips/howto-install-configure-ubuntu-linux-lighttpd-webserver.html (a part from the chroot part).
I tried it twice, on 2 servers.. and got the same error all the time.
I can acces the "lighty index" page, but thats all ! I tried to create a "test.php" which is located into /var/www/ and I got 403 on it. I also tried to move the webroot to /var/www to /srv/alogh/www (which is my data drive). And if I do so, I got 403 on the "lighty index" file as well.
I did chown "www-data:www-data /var/www/ and /srv/alogh/www .. it is the same.
I did chmod u+x,g+x /srv/neso/www/*
I even tried a chmod 777 on the /srv/neso/www/test.php
Allways 403... and of course I restarted several time the lighttpd server.
I feel really lost ! Any idea would be very appreciated.
Thanks
PS : a few months ago I installed 2 servers with lighty chrooted (from Nixcraft guide, posted here) and everything went fine ! But in the end, I felt lost when I had to install phpmyadmin, so I prefer not installing in chrooted environement again.