On 12/20/06, Roland Rabben <[EMAIL PROTECTED]> wrote:
Hi
I have set up Apache HTTP Server 2.2.3 with mod_proxy, mod_proxy_ajp and
mod_cache as a reverse proxy in front of a Tomcat 5.5 server. The
solution works fine except that I am having trouble getting Apache to
cache content from a directory that is protected using Basic
Authentication.

Both servers are running on Windows XP.

From the Apache documentation I have read that Apache won't cache
Authenticated content:

"If the request contains an "Authorization:" header, the response will
not be cached."

Is there any way to force Apache HTTP Server to cache responses from
Tomcat protected with Basic Authentication?

I believe you'd need to change the source code, although the required
change would likely be very minor.

But my question is: exactly why do you want to do this?  Do you
realize that by caching authenticated content, you essentially remove
the authentication?

Joshua.

---------------------------------------------------------------------
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