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=36610>. 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=36610 Summary: .htaccess AddHeader handling is buggy Product: Apache httpd-2.0 Version: 2.0.46 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: mod_headers AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I try to use the following directive from a .htaccess file: <Files "test.jpg"> header set X-MP-Tax "25.0%" </Files> This results as an internal server error. The parser code in mod_headers.c declares that after a '%' character is read, the next character should be read and a handler function should be called. However I don't have a next character... A possible workaround can be to use something like this: SetEnv VAT "25.0%" <Files "test.jpg"> header set X-MP-Tax "%{VAT}e" </Files> But I think there should be a better solution, or at least a warning in the docs not to use % characters while setting HTTP headers from a .htaccess. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
