commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Merdouille <>
Subject Mod_cache+Mod_proxy+Mod_rewrite
Date Mon, 04 May 2009 12:06:21 GMT


I neeed a proxycache wich receive url like :
and send a response with the content of http://host/path/file

I try something like :

<virtualhost *:82>
    ServerName cache-ext
    LogLevel debug
    CustomLog /var/log/apache2/cache-partenaire_access.log combined
    ErrorLog /var/log/apache2/cache-partenaire_error.log
    ServerSignature Off
    <IfModule core.c>
       AllowEncodedSlashes on
   <IfModule mod_rewrite.c>
       LogLevel debug  
       Options FollowSymLinks
       RewriteEngine On
       <directory />
         RewriteBase /
      RewriteRule ^img=([^*]+)$ $0 [P]  
      Rewritelog /var/log/apache2/rew.log
    ProxyVia on
    <IfModule mod_proxy.c>
        ProxyRequests on
    <Proxy *>
        Allow from all

using        AllowEncodedSlashes on to d├ęcode %2F etc...

But it seems not to try rewrite anything....

An ideas?
View this message in context:
Sent from the Commons - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message