Re: [users@httpd] Modifying headers according to response code

2011-07-01 Thread Tom Evans
On Thu, Jun 30, 2011 at 5:58 PM, Michael Stevens michael.stev...@planetoutinc.com wrote: What is generating the different responses? We use the Spring Security authentication framework on Tomcat using an APR connector behind Apache. Protected resources are handled like this for an

RE: [users@httpd] Modifying headers according to response code

2011-06-30 Thread Michael Stevens
: [users@httpd] Modifying headers according to response code On Wed, 29 Jun 2011 19:20:26 + Michael Stevens michael.stev...@planetoutinc.com wrote: Hello, I'd like to do this: Set Expires and Cache-control headers to specific values on a resource when the response code is 200. Set those

[users@httpd] Modifying headers according to response code

2011-06-29 Thread Michael Stevens
Hello, I'd like to do this: Set Expires and Cache-control headers to specific values on a resource when the response code is 200. Set those headers to different values when the response code is XXX (but not 200). The documentation for mod_expires and mod_headers does not suggest that this is

Re: [users@httpd] Modifying headers according to response code

2011-06-29 Thread Nick Kew
On Wed, 29 Jun 2011 19:20:26 + Michael Stevens michael.stev...@planetoutinc.com wrote: Hello, I'd like to do this: Set Expires and Cache-control headers to specific values on a resource when the response code is 200. Set those headers to different values when the response code is