I do something similar. I rewrite the URL path prefixing it with /cache or 
/nocache and do a recursive request to the _same_ vhost in which I have 
"cacheenable disk /cache". Then I strip the prefix before passing it on to the 
backend


-ascs
 
-----Message d'origine-----
De : Vincent Bray [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 8 octobre 2007 10:38
À : users@httpd.apache.org
Objet : Re: [EMAIL PROTECTED] mod_disk_cache and mod_rewrite

On 08/10/2007, Janne Kario <[EMAIL PROTECTED]> wrote:
> The problem is that mod_rewrite and mod_disk_cache don't appear to 
> well together and mod_disk_cache seems to ignore all that mod_rewrite does.

I've found that to be a problem too. In my case, I used a reverse proxy on the 
rewrite rule to send the request to another vhost (using a faked internal name) 
which itself did the caching. Or it could have been the other way round, adding 
the cache to the proxying vhost.
Anyway, it worked.

--
noodl

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


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