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:noodlet@xxxxxxxxx] Envoyé : lundi 8 octobre 2007 10:38 À : users@xxxxxxxxxxxxxxxx Objet : Re: mod_disk_cache and mod_rewrite On 08/10/2007, Janne Kario <janne.kario@xxxxxxxxx> 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: 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