Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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"

# 2 DAYS
<FilesMatch "\.(xml|txt)$">
Header set Cache-Control "max-age=172800, public, must-revalidate"

<FilesMatch "\.(html|htm)$">
Header set Cache-Control "max-age=7200, must-revalidate"

Any help is appreciated as to what I could do to fix this?

share|improve this question

Generally since this is a debug level error/notice, you can turn it off in apache config (perhaps /etc/apache2/sites-enabled/somesite, /etc/apache2/httpd.conf or /etc/apache2/apache2.conf or perhaps a .htaccess file) by setting a line to:

LogLevel warn

as opposed to:

LogLevel debug
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.