Return-Path: Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 65433 invoked by uid 500); 13 Jul 2002 08:39:44 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 65422 invoked from network); 13 Jul 2002 08:39:44 -0000 Date: 13 Jul 2002 08:40:09 -0000 Message-ID: <20020713084009.14047.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 10768] New: - 'AddHandler cgi-script cgi' does not specifically find cgi file extension X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10768 'AddHandler cgi-script cgi' does not specifically find cgi file extension Summary: 'AddHandler cgi-script cgi' does not specifically find cgi file extension Product: Apache httpd-2.0 Version: 2.0.39 Platform: PC URL: http://nagoya.apache.org OS/Version: Linux Status: NEW Severity: Minor Priority: Other Component: mod_mime AssignedTo: bugs@httpd.apache.org ReportedBy: josmhinkle@netscape.net When the directive "AddHandler cgi-script cgi" is used, and presumably similar constructions, matches will be made on filenames containing ".cgi" and not just files with the extension ".cgi" (or .pl, or other). This was discovered when a CGI program was compiled from source named "compiled.cgi.c" and the executable output was "compiled.cgi". When both are visible on an index page delivered from Apache, clicking on "compiled.cgi.c" should cause it to deliver a plain text document. Instead, Apache attempts to run it as a cgi program. The compilation itself runs as expected because Apache properly delivers "compiled.cgi" to the handler. Somewhere (mod_mime ?) an improper match is made on file extensions. I couldn't find it myself. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org