You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Kohji Nakamura <na...@duo.co.jp> on 2002/03/12 07:40:56 UTC

mod_cgi/10138: CGI program is not invoked when a trailing '/' is provided to the CGI-script's URL.

>Number:         10138
>Category:       mod_cgi
>Synopsis:       CGI program is not invoked when a trailing '/' is provided to the CGI-script's URL.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Mar 11 22:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     nakamura@duo.co.jp
>Release:        2.0.32
>Organization:
apache
>Environment:
SunOS olive 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-5_10
>Description:
In apahce httpd 1.3.x, an access to 'http://localhost/cgi-bin/printenv/' results in an invocation of printenv CGI program.
However, in apache httpd 2.0.32, it seems to result in trying to find a script named 'printenv/' and issues a following error message on the browser.
Premature end of script headers: /opt/httpd-2.0.32/cgi-bin/printenv/
This behaviour is a problem when using 'viewcvs' for example.
>How-To-Repeat:
http://localhost/cgi-bin/printenv/
>Fix:
Sorry, no idea.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]