еще актуально...<br><br><div class="gmail_quote">2008/4/13 Alexander Dolgarev &lt;<a href="mailto:a.dolgarev@gmail.com">a.dolgarev@gmail.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
При проксировании имеем слудующее:<br><br>location / {<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root &nbsp; html;<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_pass &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://some.site.com" target="_blank">http://some.site.com</a>;<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_hide_header &nbsp; &nbsp;Set-Cookie;<br>

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_set_header &nbsp; &nbsp; Accept-Encoding &nbsp;&quot;&quot;;<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sub_filter <a href="http://some.site.com" target="_blank">some.site.com</a> &#39;$server_name:$server_port&#39;;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sub_filter_types text/plain;<br>

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sub_filter_once off;<br>}<br><br>Здесь используется фильтр sub_filter для замены абсолютных ссылок на ссылки на наш сайт с сайта <a href="http://some.site.com" target="_blank">some.site.com</a>. Но замечено что некоторые страницы стали отображаться неверно, а именно появились такие куски в htm-коде:<br>

<br>&lt;td align=&quot;cente<b><a href="http://some.site.com" target="_blank">some.site.com</a></b>r&quot; class=&quot;alt1&quot;&gt;&lt;span class=&quot;smallfont&quot;&gt;11&lt;/span&gt;&lt;/td&gt;<br><br>&lt;a href=&quot;<a href="http://our.site.com:9001/members/302021308.html" target="_blank">http://our.site.com:9001/members/302021308.html</a>&quot; rel=&quot;<b><a href="http://some.site.com" target="_blank">some.site.com</a></b>nofollow&quot;&gt;<br>

<br>&lt;ta<b><a href="http://some.site.com" target="_blank">some.site.com</a></b>ble align=&quot;center&quot; class=&quot;page&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot;&gt;<br><br>Всего несколько на странице. Это баг или фича? Если фича, то как ее отключить? Версия nginx <a href="http://0.6.26." target="_blank">0.6.26.</a><br>

<br><br>P.S. Кто знает как правильно проксировать кукисы в nginx? Сейчас просто режутся директивой proxy_hide_header &nbsp; &nbsp;Set-Cookie;<br><br><br>
</blockquote></div><br>