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 2011/11/15 1:57 UTC
Read the original article Hit count: 643

Filed under:
|
|
|
|

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

Related posts about apache2

Related posts about php