Bug 60864 - FileMatch does not work for mod_header
Summary: FileMatch does not work for mod_header
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_headers (show other bugs)
Version: 2.4.23
Hardware: Macintosh All
: P2 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 13:48 UTC by Iaroslav
Modified: 2017-03-14 14:00 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iaroslav 2017-03-14 13:48:35 UTC
<FilesMatch "\.(js|css|jpg|png|jpeg|gif|xml|txt|pdf|mov|avi|otf|woff|ico|swf)$">
	RequestHeader unset Cookie
	Header unset Cookie
	Header unset Set-Cookie
</FilesMatch>


Sending AJAX data to url 
http://localhost/my/json 
with POST method not sending Cookies in headers.
After removing this part of code from .htaccess, it sends Cookies in headers.

In this FileMatch no such url or condition.
Comment 1 Eric Covener 2017-03-14 14:00:24 UTC
What is logged if you add %f to your access log?