httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas" <ht...@grooky.com>
Subject [users@httpd] Making mod_expires works with mod_proxy
Date Thu, 03 Jul 2003 15:51:50 GMT
I try to use mod_expires with mod_proxy and mod_rewrite without any success.

I have a trivial web server mapped to a subdir of my Apache main server.
As my trivial web server only serves static pages, I would like Apache to add
a Expires header to get the load lower.

This pages are not local so I use the access time and not the modification
time as specified in the apache's documentation.
However, the expires header is added on local pages, but not on the one
proxied.


Here is some of my configuration

ExpiresActive On
ExpiresDefault "access plus 1 month"
RewriteEngine       on
RewriteRule /tws.html http://192.168.0.10:80/tws.html [P,L]
RewriteRule /tws http://192.168.0.10:80/ [P,L]
ProxyPass /tws/ http://192.168.0.10:80/
ProxyPassReverse /tws/ http://192.168.0.10:80/

Any clue ?

Tks
Nicolas


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