https://bz.apache.org/bugzilla/show_bug.cgi?id=58789
William A. Rowe Jr. <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #4 from William A. Rowe Jr. <[email protected]> --- Sorry I mis-parsed your question; is the following correct? /aaa/.htaccess: Header set AAA ZZZ /aaa/bbb/.htaccess: Header set AAA XXXXXXXX /aaa/bbb/ccc/.htaccess: Header set AAA XXXXXXXX (To clarify, there is no Header set AAA anywhere in your httpd.conf or other config files - and none of the directives above are in <Section > blocks) Request: GET /aaa/bbb/ccc/index.php Response: AAA: ZZZ Expected: 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." Got it... "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?" /aaa/bbb/ccc/.htaccess: <FilesMatch "^.*$"> Header set AAA XXXXXXXX </FilesMatch> Request: GET /aaa/bbb/ccc/index.php Response: AAA: XXXXXXXX So - you have documented that httpd is configured to parse /aaa/bbb/ccc/.htaccess, thank you for the clarity, sorry I misread your question. -- 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]
