Error headers: ap_headers_output_filter() after putting cache header in htaccess file
Posted
by Brad
on Server Fault
See other posts from Server Fault
or by Brad
Published on 2010-05-11T14:54:08Z
Indexed on
2010/05/11
14:55 UTC
Read the original article
Hit count: 285
Receiving error: [debug] mod_headers.c(663): headers: ap_headers_output_filter()
after I included this within the htaccess file:
# 6 DAYS
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Cache-Control "max-age=518400, public"
</FilesMatch>
# 2 DAYS
<FilesMatch "\.(xml|txt)$">
Header set Cache-Control "max-age=172800, public, must-revalidate"
</FilesMatch>
# 2 HOURS
<FilesMatch "\.(html|htm)$">
Header set Cache-Control "max-age=7200, must-revalidate"
</FilesMatch>
Any help is appreciated as to what I could do to fix this?
© Server Fault or respective owner