cookie authenticated caching proxy

2003-03-12 Thread Abdul-wahid Paterson
Hi, I am still pretty new to mod_perl and have only really dabbled with a few small applications that I created. I am now looking to build something quite specific and was wondering if anyones know of anything similar to what I want to do so or whether they have any pointers as to mod_perl's

Re: cookie authenticated caching proxy

2003-03-12 Thread Perrin Harkins
Abdul-wahid Paterson wrote: I wanted to develop a caching proxy that will return a cached page instead of passing control to one of the PHP scripts or Perl scripts that normally generate the pages. This is called a reverse proxy and is very common in mod_perl setups. It is typically done with

Re: cookie authenticated caching proxy

2003-03-12 Thread Abdul-wahid Paterson
One extra requirement is that some of the pages need authentication which is cookie based. I would need to check the cookie against a database to see if the caller is authenticated to access the particular page. Has anyone done/seen anything similar implemented in mod_perl? That's very

Re: cookie authenticated caching proxy

2003-03-12 Thread Perrin Harkins
Abdul-wahid Paterson wrote: In the docs you cited, it says: ProxyPass happens before the authentication phase, so you do not have to worry about authenticating twice. Hmmm, I thought you had an opportunity to do access control first. Look at this, from the mod_proxy docs: