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: [email protected]
For additional commands, e-mail: [email protected]