Bug #157

CGI file not recognised

Added by Anonymous 1304 days ago. Updated 88 days ago.

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

History

08/31/2008 10:37 PM - stbuehler

  • Status changed from New to Fixed
  • Resolution set to worksforme

Works for me, too old. provide config in such cases please.

10/10/2008 07:10 PM - stbuehler

  • Status changed from Fixed to Missing Feedback

Also available in: Atom PDF