2011-09-25 107 views
0

我有這樣的配置錯誤:Lighttpd的配置錯誤

$ sudo /etc/init.d/lighttpd restart 
Stopping web server: lighttpd. 
Starting web server: lighttpdDuplicate config variable in conditional 0 global: fastcgi.server 
2011-09-25 19:12:13: (configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 178 pos: 10 parser failed somehow near here: (EOL) 
failed! 

這裏是我的配置文件:http://pastebin.com/kzW1kCP5

可我知道出了什麼問題?謝謝!

回答

1

根據錯誤消息,您在另一個地方有另一個fastcgi.server配置指令。由於它不在主配置文件中,因此可能是從另一個文件導入的。看看你能在/etc/lighttpd/conf-available/etc/lighttpd/conf-enabled找到什麼。

Serverfault.com對於這個問題也許會是一個更好的地方。事實上,有一個question over there這是非常相似於你的。