Project

General

Profile

Actions

Bug #157

closed

CGI file not recognised

Added by Anonymous almost 20 years ago. Updated over 16 years ago.

Status:
Missing Feedback
Priority:
Normal
Category:
mod_cgi
Target version:
-
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by stbuehler over 16 years ago

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

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

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Missing Feedback
Actions

Also available in: Atom