commons-user mailing list archives

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

Hi!

I neeed a proxycache wich receive url like :
http://mycache/img=http%3A%2F%2Fhost%2Fpath%2Ffile
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>
   <IfModule mod_rewrite.c>
       LogLevel debug  
       Options FollowSymLinks
       RewriteEngine On
       <directory />
         RewriteBase /
       </directory>
      RewriteRule ^img=([^*]+)$ $0 [P]  
      Rewritelog /var/log/apache2/rew.log
      </IfModule>
    ProxyVia on
    <IfModule mod_proxy.c>
        ProxyRequests on
    </ifModule>
    <Proxy *>
        Allow from all
    </Proxy>
</VirtualHost>

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

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

An ideas?
-- 
View this message in context: http://www.nabble.com/Mod_cache%2BMod_proxy%2BMod_rewrite-tp23366728p23366728.html
Sent from the Commons - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message