PDA

View Full Version : Lighttpd not reading configuration changes


Barleyman
February 9th, 2007, 05:29 PM
Hi, I have a VPS server running lighttpd. It works fine, but no matter what I do, I can't get it to recognize the fact that I have changed the following.

index-file.names = ( "index.php", "index.html", "index.htm" )
server.dir-listing = "enable"

I have a script that restarts lighttpd and I have even rebooted with no luck.

ps. I can add a new website with no problems and it is recognized by restarting. It just won't recognize index.html or index.htm as a valid index-file

Barleyman
February 9th, 2007, 06:11 PM
Solved my own problem. I just used this default config file (http://www.debianhelp.co.uk/manpages/samplelighttpd.txt) and rebuilt my config piece by piece, until I ran into the problem.

This was the problem

$HTTP["host"] =~

on one of my sites.