我有以下内容lighttpd.conf
:
server.document-root = "/var/www/root"
server.modules = ( "mod_scgi" )
server.port = 80
server.username = "www"
server.groupname = "www"
mimetype.assign = (
".htm" => "text/html",
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png",
".myfile" => "text/html",
".zhtml" => "text/html"
)
index-file.names = ( "index.html" )
server.protocol-http11 = "enable"
server.error-handler-404 = "/error-404.php"
scgi.server = (
"/infodesk" => ( "127.0.0.1" => ( "host" => "127.0.0.1", "port" => 9123, "fix-root-scriptname" => "enable", "check-local" => "disable" ) )
)
当请求http://192.168.0.42/infodesk
我得到正确的 CGI 时。但是当请求例如http://192.168.0.42/InfoDesk
我得到一个错误 404。
有没有办法将 mod_scgi 配置为不区分大小写?
我搜索了 lighttpd 文档和配置,但找不到任何东西。mod_scgi 的源代码可以阅读和理解,但是我没有找到 CGI-URI 被处理或比较的行。
感谢您的任何提示!