Bug #157
CGI file not recognised
| Status: | Missing Feedback | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | mod_cgi | |||
| Target version: | - | |||
| Pending: | No |
Resolution: | worksforme |
|
| Patch available: |
Description
With mod_cgi enabled and cgi.assign = ( ".cgi" => "/usr/bin/perl" )
CGIs execute properly except for 'index.cgi' which comes up as a text file (browser asking to download).
If index.cgi is renamed to index1.cgi it executes properly.
If index.cgi is removed and a working cgi is copied to index.cgi it doesnt run anymore, browser asks to download).
If index.cgi is added to server.indexfiles and directory is accessed, it executes properly again!
Example:
http://some.url/cgi-bin/index.cgi <- asks to download index.cgi http://some.url/cgi-bin/index1.cgi <- runs ok index1.cgi a copy of index.cgi http://some.url/cgi-bin/ <-- again, runs implicit index.cgi fine.
I have lighttpd 1.3.10 on Gentoo with build flags: -ldap +mysql -php +ssl -xattr
Compiled with gcc-3.3.5
Could it be related to Ticket #114?
-- ugn