Ticket #470 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

mod_cgi is not accepting valid responses

Reported by: Iñigo Owned by: jan
Priority: high Milestone: 1.4.9
Component: mod_cgi Version: 1.4.9
Severity: major Keywords: cgi
Cc: Blocked By:
Need User Feedback: Blocking:

Description (last modified by conny) (diff)

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 ?

Attachments

Change History

Changed 3 years ago by conny

  • description modified (diff)

Changed 3 years ago by conny

  • version changed from 1.4.x to 1.4.9

Changed 3 years ago by conny

  • summary changed from cgis stop working after upgradind to 1.4.9 to mod_cgi is not accepting valid responses

Changed 3 years ago by jan

  • status changed from new to closed
  • 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 [984].

Add/Change #470 (mod_cgi is not accepting valid responses)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.