现象:
在Linux3.10.64中使用lighttpd1.4.36时遇到问题。
我将server.document-root
设置为/pmc/work/air
,但是当我卸载/pns/sdm_a
时,lighttpd将访问/pns/sdm_a
目录中的文件。
问题:
我确定这两个文件夹中没有链接。因此,我想问一下,lighttpd的server.document-root
是/pmc/work/air
,为什么打开/pns/sdm_a/00_000000_01_001_000.SGP
?
有什么方法可以配置lighttpd,以便我可以知道哪个进程正在使用lighttpd服务吗?或者,如何配置lighttpd的调试日志信息来帮助我调试此问题?
我的lighttpd的配置信息:
server.port = 80
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/server.pem"
}
server.modules = (
"mod_accesslog",
)
server.errorlog = "/var/log/lighttpd.error"
accesslog.filename = "/var/log/lighttpd.access"
server.document-root = "/pmc/work/air"
index-file.names = ("index.html")