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

My companies production dynamic web servers ( Apache + PHP 5.1x) are using the Apache expires module and there is a clause inside http.conf as follows:

<FilesMatch ".+">
ExpiresActive On
ExpiresDefault "A0"
</FilesMatch>

If I were to set inside a php script "Cache-Control" and "Expires", would it get eaten by this clause?

Normally I would test this on my own but having trouble convincing the Expires module to function on my workstation and the company Admin's are down at the data-center.

share|improve this question
up vote 0 down vote accepted

Making this answer/question community wiki. PHP does overrule Apache in regards to mod_expire.

share|improve this answer

Your Answer

 
discard

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.