Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have installaed "lighttpd" on my CentOS 5.4, i386 PC. Due to some configuration issues in "apache httpd", i tried to use "lighttpd" as a new webserver,which is having light wieght process environment.
I used "yum install lighttpd" & installed well without any dependency problem.
After the installation,i have set certain parameters in /etc/lighttpd/lighttpd.conf file i.e. "DocumentRoot" etc....
The "DocumentRoot" is /srv/www/lighttpd/
Now, inside the "DocumentRoot", I have created sample "index.html" & "index.php" file which works well.
After that,i have put "phpmyadmin" directory & got below error.
I am working on "apache httpd" since more then 3 years & i have no technical expertise on "lighttpd".
If you put same "phpmyadmin" directory on "/var/www/html" DocumentRoot,which is meant for "apache httpd", it worked well.
Kindly let me know if someone knows the solution.
Advanced Thanks & Congratulation To All Guys Who is Working & Dealing with "lighttpd"
IIRC in apache, a 403 error is related to the "directory browsing" option in the configuration file. I'm a little new to apache, but this is someting I was looking up for security.
In apache configuration, we look for a line like:
"Options All FollowSymLinks MultiViews"
and add the word "Indexes" to it:
"Options All Indexes FollowSymLinks MultiViews"
Apache usually has directory browsing switched on by default, and people sometimes disable it for security reasons.