Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using an IIS website with a Apache HTTP reverse proxy (mod_proxy with ProxyRequests Off). I want to control the expires headers in apache (don't ask), but IIS is setting the header Expires: -1.

This causes mod_expires to ignore the request since it already has a value.

I tried the solutions in http://stackoverflow.com/questions/7930140/overwrite-cache-headers-with-mod-expires, but it doesn't work (the early trick doesn't work).

How do I disable IIS to specify Expires: -1 ?

OR

How do I force mod_expires to override it (since I'm using apache as a reverse proxy, I should be able to do this!)

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.