Project

General

Profile

Actions

Bug #470

closed

mod_cgi is not accepting valid responses

Added by Anonymous almost 19 years ago. Updated about 18 years ago.

Status:
Fixed
Priority:
High
Category:
mod_cgi
Target version:
ASK QUESTIONS IN Forums:

Description

Hi,

I've just upgraded from 1.4.8 to 1.4.9 (linux fc4 platform) and cgis (python, perl, shell scripts...) stopped working. Tested with fc4 .rpm and compiled from sources versions.
v1.4.8 works fine.

When click-ing the cgi url browser shows open/save dialog with the python script cgi.
Error Log: 2006-01-15 14:32:20: (mod_cgi.c.1176) cgi died ?

Complete DEBUG logs:


2006-01-15 15:20:09: (request.c.293) fd: 9 request-len: 453
GET /cgi-bin/show.py?file=/misc/pygtksourceview-test-widget.py HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: UTF-8,*
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost/misc/

2006-01-15 15:20:09: (response.c.196) -- splitting Request-URI
2006-01-15 15:20:09: (response.c.197) Request-URI  :  /cgi-bin/show.py?file=/misc/pygtksourceview-test-widget.py
2006-01-15 15:20:09: (response.c.198) URI-scheme   :  http
2006-01-15 15:20:09: (response.c.199) URI-authority:  localhost
2006-01-15 15:20:09: (response.c.200) URI-path     :  /cgi-bin/show.py
2006-01-15 15:20:09: (response.c.201) URI-query    :  file=/misc/pygtksourceview-test-widget.py
2006-01-15 15:20:09: (response.c.251) -- sanatising URI
2006-01-15 15:20:09: (response.c.252) URI-path     :  /cgi-bin/show.py
2006-01-15 15:20:09: (response.c.324) -- before doc_root
2006-01-15 15:20:09: (response.c.325) Doc-Root     : /home/httpd/inigo/
2006-01-15 15:20:09: (response.c.326) Rel-Path     : /cgi-bin/show.py
2006-01-15 15:20:09: (response.c.327) Path         :
2006-01-15 15:20:09: (response.c.375) -- after doc_root
2006-01-15 15:20:09: (response.c.376) Doc-Root     : /home/httpd/inigo/
2006-01-15 15:20:09: (response.c.377) Rel-Path     : /cgi-bin/show.py
2006-01-15 15:20:09: (response.c.378) Path         : /home/httpd/inigo/cgi-bin/show.py
2006-01-15 15:20:09: (response.c.395) -- logical -> physical
2006-01-15 15:20:09: (response.c.396) Doc-Root     : /home/httpd/inigo/
2006-01-15 15:20:09: (response.c.397) Rel-Path     : /cgi-bin/show.py
2006-01-15 15:20:09: (response.c.398) Path         : /home/httpd/inigo/cgi-bin/show.py
2006-01-15 15:20:09: (response.c.415) -- handling physical path
2006-01-15 15:20:09: (response.c.416) Path         : /home/httpd/inigo/cgi-bin/show.py
2006-01-15 15:20:09: (response.c.423) -- file found
2006-01-15 15:20:09: (response.c.424) Path         : /home/httpd/inigo/cgi-bin/show.py
2006-01-15 15:20:09: (response.c.546) -- handling subrequest
2006-01-15 15:20:09: (response.c.547) Path         : /home/httpd/inigo/cgi-bin/show.py
2006-01-15 15:20:09: (response.c.558) -- subrequest finished
2006-01-15 15:20:09: (mod_cgi.c.1176) cgi died ?

-- IƱigo

Actions #1

Updated by jan almost 19 years ago

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

A error was spotted in the mod_scgi.c module which terminated valid requests from other modules.

Please verify that mod_cgi works as soon as mod_scgi is not loaded. If not, please reopen this ticket.

This is fixed in changeset r984.

Actions

Also available in: Atom