httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] mod_rewrite and mod_cache
Date Tue, 11 Jul 2006 19:37:24 GMT
Hi,
Couple of points..

On 7/11/06, Tom Hodder <tom@limepepper.co.uk> wrote:
> Hi,
>
> I have an httpd config with a rewrite rule with a proxy;
> RewriteRule   ^/path1/(.*) http://localhost:8080/path2$1 [P]

Why use rewrite for this? ProxyPass & ProxyPassReverse would be better.

> and a disk cache like so;
> CacheRoot /tmp/cache
> CacheSize 32768
> CacheEnable disk /
>
> Now my index page "index.html" gets cached, but nothing that is handled
> by the rewrite rule below path1 or path2.

I find "LogLevel debug" very helpful in determining why mod_cache
isn't doing it's thing.

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