Received: (qmail 70891 invoked by uid 501); 20 Dec 2001 19:25:05 -0000 Message-Id: <20011220192505.70890.qmail@apache.org> Date: 20 Dec 2001 19:25:05 -0000 From: Reply-To: v13@priest.com To: submit@bugz.apache.org Subject: cgi handling is not right X-Send-Pr-Version: 3.110 >Number: 9212 >Category: general >Synopsis: cgi handling is not right >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Dec 20 11:30:00 PST 2001 >Closed-Date: Thu Dec 20 11:36:02 PST 2001 >Last-Modified: Thu Dec 20 11:36:02 PST 2001 >Originator: v13@priest.com >Release: 1.3.9, 1,3,20, 1.3.22 >Organization: >Environment: This is OS independend. Tested under Linux and win NT >Description: Apache tries to execute files named: test.cgi.txt or test.cgi.html (others?) on directires with ExecCGI (but not testcgi.txt) >How-To-Repeat: Define a directory with ExecCGI and put a test cgi in it.. do a chmod +x on it http://host/dir/test.cgi will execute it.. rename it to test.txt http://host/dir/test.txt will show its contents rename it to test.lala.txt http://host/dir/test.lala.txt will show its contents rename it to test.cgi.txt http://host/dir/test.cgi.txt will execute it. do a chmod -x on it and it will give an internal server error >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Thu Dec 20 11:36:02 PST 2001 State-Changed-Why: This is the way it is supposed to work. Please see the mod_mime docs at http://httpd.apache.org/docs/mod/mod_mime.html for a description of "Files with Multiple Extensions". >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]