httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Gerhards <jgerha...@r-advertising.com>
Subject RE: [users@httpd] Mod-rewrite+Mod_proxy+Mod_cache
Date Tue, 05 May 2009 12:46:40 GMT
OK it works, so basixc conf is :

<IfModule mod_proxy.c>
   <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteCond %{REQUEST_URI} ^/img=(.+)
      RewriteRule ^/img=(.+)$ $1 [L,P]
      RewriteLog /var/log/RewriteLog.log
   </IfModule>
   AllowEncodedSlashes on
   ProxyRequests On
   ProxyVia On
   <IfModule mod_disk_cache.c>
      CacheEnable disk /
      CacheRoot "/var/cache/mod_proxy"
   </IfModule>
   <IfModule mod_mem_cache.c>
      CacheEnable mem /
      MCacheMaxObjectSize 1024000
      MCacheSize 102400
   </IfModule>
</IfModule>

I'know that's is not the more secure way of use but i must respect this choice and do my best
to limit proxied sites.

Thx

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