httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karim Zaki <Karim.Z...@itworx.com>
Subject RE: [users@httpd] RE: Using mod_cache to cache URLs matching a regular expression
Date Wed, 24 Dec 2008 13:02:16 GMT
Hi Eric,

The idea sounds good, but I can't seem to get it to work. I need to modify the host header
for example, to point the request to another vhost that has no caching defined. However, mod_rewrite
doesn't seem to allow for modifying headers, and I can't change the URI. I can use SetEnvIf
to set an environment variable if the regular expression matches, but then how do I tell Apache
not to cache if a specific environment variable is set?

Thanks,
Karim

-----Original Message-----
From: Eric Covener [mailto:covener@gmail.com]
Sent: Wednesday, December 24, 2008 5:26 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] RE: Using mod_cache to cache URLs matching a regular expression

On Tue, Dec 23, 2008 at 11:28 AM, Karim Zaki <Karim.Zaki@itworx.com> wrote:
> Guys,
> Anyone interested in shedding some light here? J

Nothing you can do directly here, I think.  Enable it the basic way,
and use SetEnvIf/Rewrite +  RequestHeader to  make it uncacheable?

--
Eric Covener
covener@gmail.com

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


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