Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-29-2010, 06:33 AM   #1
Registered: Aug 2008
Posts: 148

Rep: Reputation: 15
Cool "lighttpd" giving 403 Forbidden error


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.

403 Forbidden

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"

Nishith Vyas
Old 05-29-2010, 08:12 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
What does Lighttpd's error log tell you?
Old 05-29-2010, 11:32 AM   #3
LQ Newbie
Registered: May 2010
Location: NJ
Distribution: Mandriva (for learning)
Posts: 13

Rep: Reputation: 0
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.

So, perhaps lighttpd has something similar?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "403 Forbidden" error when trying to install Mahara/Dolphin on localhost f.user Linux - Server 3 09-06-2009 08:08 AM
Apache and Named Virtual Hosts Giving 403 Forbidden Error durus123 Linux - Server 1 09-05-2009 05:24 AM
Apache and Named Virtual Hosts Giving 403 Forbidden Error PekinSOFT Linux - Server 2 04-15-2009 01:07 AM
Apache "Forbidden 403" on index - default install flycast Linux - Server 8 04-02-2007 08:35 PM
Apache - "403 forbidden" message on any DIR below DocumentRoot stevod333 Linux - Software 12 06-12-2006 04:58 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration