httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Pendergast" <pendergast.r...@gmail.com>
Subject Re: [users@httpd] CacheEnable and forward proxy
Date Thu, 29 Jun 2006 19:10:14 GMT
You are correct - it does catch both.  How do you cache only forward proxy
requests? Am I going to have to explitly put every protocol?  What about ssl
connect?

-Ryan



On 6/29/06, Joshua Slive <joshua@slive.ca> wrote:
>
> On 6/29/06, Ryan Pendergast <pendergast.ryan@gmail.com> wrote:
> > I am trying to setup caching for my 2.2.2 Apache Proxy server.  How do
> you
> > setup the server to cache all forward proxy requests?
> >
> > By looking at the CacheEnable example in the documentation it seems as
> if I
> > would have to enable it for every protocol.  Also the current
> documentation
> > is a bit misleading -
> > http://httpd.apache.org/docs/2.2/mod/mod_cache.html#cacheenable
> > states:
> >
> >  # Cache proxied url's
> >  CacheEnable disk /
> >
> > This however will not cache proxied urls will it? A proxy request does
> not
> > come in the form of 'Get /' - it comes in the form of 'GET http://'
> > (<protocol>://).  I can see the above example caching requests to / and
> > below that are setup via ProxyPass but not forward proxy.
> >
> > Can I do something like this:
> >
> > CacheEnable disk ://
> >
> > Will this cover every protocol that forward proxy handles? Thanks.
>
> I believe that "/" is a special case that catches everything, proxy or
> not.  (I haven't actually tried it myself, but it should be easy
> enough to try it out and see if it works.)
>
> 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message