Julien Gerhards wrote:
...
additional note :
I think this rule is superfluous, as you basically already have the same
condition in your RewriteRule :
RewriteCond %{REQUEST_URI} ^/img=(.+)
I'know that's is not the more secure way of use but i must respect this choice
and do my best to limit p
OK it works, so basixc conf is :
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/img=(.+)
RewriteRule ^/img=(.+)$ $1 [L,P]
RewriteLog /var/log/RewriteLog.log
AllowEncodedSlashes on
ProxyRequests On
ProxyVia On
CacheEnable disk /
CacheRoot "/v
Julien Gerhards wrote:
Hi André,
It doesn't made any change.
Well yes it does. $0 was wrong, $1 is right, to capture what you wanted
to capture. But I did not look further at the details.
I cant see anything in the rewritelog
Then it means that this URL is not mtaching what you think it
Hi André,
It doesn't made any change.
I cant see anything in the rewritelog
For the Url :
http://192.168.100.188/img=http://files.macbidouille.com/mbv/news/00509/nano_1yen.jpg
Accesslog :
192.168.100.188 - - [05/May/2009:13:35:55 +0200] "GET
/img=http://files.macbidouille.com/mbv/news/00509/nan
Try $1 instead of $0 ?
Julien Gerhards wrote:
Hi,
I need to build an proxy cache server with a very simple url_rewrite :
The server sould receive URL like this :
http://myserver/img=httpd%3A%2F%2Fotherwebserver%2Fpath%2Ffile
and act as proxy/cache and give the file :
http://otherwebserver/
Hi,
I need to build an proxy cache server with a very simple url_rewrite :
The server sould receive URL like this :
http://myserver/img=httpd%3A%2F%2Fotherwebserver%2Fpath%2Ffile
and act as proxy/cache and give the file :
http://otherwebserver/path/file
I tried the following conf :
Rewrite