Bug 163971
Summary: | Files with .php in the middle of the file name are incorrectly interpreted as PHP | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nu Xi <nuxi> |
Component: | httpd | Assignee: | Joe Orton <jorton> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | redhat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-07-22 15:37:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nu Xi
2005-07-22 15:30:29 UTC
This is desired behaviour (useful for example with mod_negotiation); you should be able to use something like: <Files *.php.*> RemoveHandler php5-script RemoveType text/html </Files> to prevent it, if you like. Adding that to php.conf does not help. Adding it to the end of httpd.conf does not help. Adding this to /etc/httpd/conf.d/php.conf does the trick. <Files "\.php\."> RemoveHandler php5-script RemoveType text/html </Files> *** Bug 164731 has been marked as a duplicate of this bug. *** |