https://bz.apache.org/bugzilla/show_bug.cgi?id=58789
Bug ID: 58789
Summary: header set multiple htaccess
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: All
Assignee: [email protected]
Reporter: [email protected]
In my CENTOS 7 server I have Apache 2.4 installed with mod_headers enabled.
I have a site at directory /aaa/bbb/ccc/index.php
I have an htaccess on every directory "/aaa", another in "/aaa/bbb" and another
in "/aaa/bbb/ccc".
In the htaccess located at /aaa I have this
Header set AAA ZZZ
In the htaccess located at /aaa/bbb and /aaa/bbb/ccc I have this
Header set AAA XXXXXXXX
When I open the website using my browser the header AAA has the value ZZZ. For
some reason the other htaccess files are not overriding the value of AAA. But
what is really strange is that if I change the htaccess from /aaa/bbb and
/aaa/bbb/ccc to the code below the header gets overrided! Why?
<FilesMatch "^.*$">
Header set AAA XXXXXXXX
</FilesMatch>
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]