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 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 unauthenticated user: > > GET /some

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

2011-06-30 Thread Michael Stevens
Re: [users@httpd] Modifying headers according to response code On Wed, 29 Jun 2011 19:20:26 + Michael Stevens 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. > >

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 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 XXX (but not > 200). Wh