我有这个配置错误:
$ 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
我能知道哪里出了问题吗?谢谢!
发布于 2011-09-26 03:42:34
根据错误消息,您在某处有另一个fastcgi.server配置指令。因为它不在主配置文件中,所以它可能是从另一个文件导入的。看看您可以在/etc/lighttpd/conf-available和/etc/lighttpd/conf-enabled中找到什么。
对于这个问题,Serverfault.com可能是一个更好的地方。事实上,有一个question over there和你的非常相似。
https://stackoverflow.com/questions/7547912
复制相似问题