<div>Здравствуйте, </div><div><br></div><div>Запрос <a href="http://sfrom.net/http://bar">http://sfrom.net/http://bar</a> </div><div><br></div><div>Ответ <a href="http://savefrom.net/http:/bar">http://savefrom.net/http:/bar</a> </div>
<div><br></div><div>Ожидали <a href="http://savefrom.net/http://bar">http://savefrom.net/http://bar</a> </div><div>(пропал слеш в uri)</div><div><br></div><div>Конфиг</div><div> server {<br></div> listen xxx;<br> server_name <a href="http://sfrom.net">sfrom.net</a> <a href="http://www.sfrom.net">www.sfrom.net</a>;<br>
merge_slashes off;<br>rewrite '^\/https?:' '<a href="http://savefrom.net">http://savefrom.net</a>$uri?foo' permanent;<br>rewrite ^ '<a href="http://savefrom.net/http:/$uri?foo">http://savefrom.net/http:/$uri?foo</a>' permanent;<br>
}<br><div><br></div><div><br></div><div>Linux 2.6.18-238.1.1.1.el5 <br clear="all"></div><div><br></div><div>nginx: nginx version: nginx/1.1.2<br>nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-50)<br>nginx: TLS SNI support disabled<br>
nginx: configure arguments: --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/sbin/nginx --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/spool/nginx/tmp/client --http-proxy-temp-path=/var/spool/nginx/tmp/proxy --http-fastcgi-temp-path=/var/spool/nginx/tmp/fastcgi --pid-path=/var/run/nginx.pid --user=nginx --group=nginx --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module<br>
</div><br>-- <br>С уважением, Антон<br>