www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <s...@hackvan.com>
Subject config/716: Wrong type given to file with "two extensions"
Date Wed, 11 Jun 1997 00:10:02 GMT

>Number:         716
>Category:       config
>Synopsis:       Wrong type given to file with "two extensions"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jun 10 17:10:01 1997
>Originator:     stig@hackvan.com
>Organization:
apache
>Release:        1.2b7
>Environment:
Linux, probably gcc 2.7.2
>Description:
[Thu Jun  5 11:49:22 1997] access to /home/httpd/html/frontpage.cgi.html failed for jato.hackvan.com,
reason: file permissions deny server execution

>How-To-Repeat:
Try to access a plain file named foo.cgi.html and see if it's correctly 
recognized as text/html instead of executed as a CGI.
>Fix:
When matching filename extensions, search from rindex(filename, '.') instead of
searching the whole string.
%0
>Audit-Trail:
>Unformatted:



Mime
View raw message