You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sridhar Basam <ba...@stream.aol.net> on 2006/12/18 19:29:06 UTC

[users@httpd] Problem with HEAD requests via mod_cache and mod_proxy

Hey,
       I am using apache 2.2.3 with mod_proxy and mod_cache in reverse 
proxy mode. I am seeing a problem with the response to HEAD requests in 
this setup.

If you send a HEAD request for content that is cached but expired, 
mod_cache correctly sends a conditional request to the origin but that 
"304 Not Modified" response from the internal server isn't being 
translated to a 200 response before passing it to the user. The response 
to the end user is a 304 and the previously cached file on disk is 
purged from the cache.

Can someone else using mod_proxy and mod_cache verify this is the case. 
I am running a stock apache version on RedHat AS4.

thanks,
    Sridhar



---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org