Bug #129
lighttpd fails to run the CGI script (no such file or directory) if the server.document-root is not absolute
| Status: | Wontfix | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | mod_cgi | |||
| Target version: | - | |||
| Pending: | Resolution: | wontfix |
||
| Patch available: |
Description
lighttpd fails to run the CGI script (no such file or directory) if the
server.document-root is not absolute.
For example:
server.document-root = "webroot" # doesn't work
server.document-root="/home/guests/pts/d/webroot" # solves the problem
Moreover, lighttpd sends a bogus HTTP reply if it cannot execute the CGI:
HTTP/1.0 200 OK
Connection: close
Server: lighttpd/1.3.13
The reason of the error etc. is not indicated, and the document body is
missing.
-- pts
History
05/17/2005 02:25 AM - Anonymous
Did you attempt to strace and figure out exactly where it was looking for "webroot?" this one should probably be closed as "worksforme" or "invalid" as there isn't one that's labelled "pebkac."
-- infowolfe