I have Apache 2.2.3 going against a servlet engine. I have some static content that is hosted by the servlet engine (css, jpegs, etc.). Whenever a request without a JSESSIONID cookie hits the servlet engine, the servlet engine sends back a Cache-control: no- cache header and an Expires header specifying the epoch (i.e. Jan 1 1970) along with a Set-Cookie header that contains a new JSESSIONID cookie.

What I want to do is configure mod_expires (and/or mod_headers) to effectively ignore what my servlet engine says and override the Expires and Cache-control headers with something far in the future and remove the Set-Cookie header that originates on the servlet engine.

With mod_headers, I can remove the Set-Cookie header. In fact, with mod_headers, I can pretty much do what I want except use mod_expires lovely syntax for specifying expiration dates (i.e. "access plus 30 days"), which is fairly important to me.

So am I missing something or is it indeed the case that I cannot make mod_expires override what is coming back from the proxied request?

phil.

--
                                   Whirlycott
                                   Philip Jacob
                                   [EMAIL PROTECTED]
                                   http://www.whirlycott.com/phil/





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to