httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39485] - Nested file extensions, If file names include .php, the file will be run as x-httpd-php even if the true file extension is other (ex: .txt)
Date Thu, 04 May 2006 21:21:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39485>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39485





------- Additional Comments From wrowe@apache.org  2006-05-04 21:21 -------
File name components have always been ordered (1st to last) with the last
one replacing the mime control and filter control of the previous segment.

99% certain you are either setting AddHandler conditionally on file-type,
which is problematic unless you also set AddHandler conditionally on every
stock file type (e.g. .txt) replacing the original.

Secondly, you can change the handler by the AddType application/x-httpd-php .php
you mentioned which is good - if that's your only override.

Please review and ensure you have AddType text/plain .txt to override the
AddType application/x-httpd-php metadata!

Make sure your httpd.conf file resolves mime.types

Bill

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message