But if I stuck with rewrite, mod_cache would still process before rewrite, and so this solution would not work. -----Original Message----- From: Eric Covener [mailto:covener@xxxxxxxxx] Sent: Wednesday, January 14, 2009 4:49 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: Processing mod_cache after mod_rewrite On Wed, Jan 14, 2009 at 9:36 AM, Karim Zaki <Karim.Zaki@xxxxxxxxxx> wrote: > Hi Eric, > > Thanks for the insight. Do you mean that I should set it using SetEnvIf, or did you have something else in mind? The advice below would be if you stuck with rewrite, the E flag. But if you didn't need to change the URL outside of the CacheRoot, you probably wouldn't be using mod_rewrite anymore. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx