<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Vladislav пишет:
<blockquote cite="mid:4B490E1D.3030701@gmail.com" type="cite">
  <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
Алексей Сундуков пишет:
  <blockquote
 cite="mid:8b6ed1541001091323j46ac4e65q78bbce3d5c1c87a0@mail.gmail.com"
 type="cite">
    <pre wrap="">10 января 2010 г. 0:51 пользователь Vladislav <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:tvword@gmail.com">&lt;tvword@gmail.com&gt;</a> написал:
  </pre>
    <blockquote type="cite">
      <pre wrap="">Если ^(.*)$ = <a moz-do-not-send="true"
 class="moz-txt-link-freetext" href="http://www.site.com/foo?param">http://www.site.com/foo?param</a>
то, что тогда получим на выходе?<!---->

А первый пример, как уже точно меня поправил Игорь, преобразуется в /msie/foo
    </pre>
    </blockquote>
  </blockquote>
Если в /msie/foo, тогда объясните пожалуйста, как работает пример ниже
???!!!<br>
  <blockquote><tt>server {<br>
    #общая конфигурация для сервера<br>
    listen mysite.com:80;<br>
    server_name mysite.com *.mysite.com;<br>
...<br>
    <b># редиректим <a moz-do-not-send="true"
 class="moz-txt-link-freetext" href="http://www.mydomain.nl/foo">http://www.mydomain.nl/foo</a>
=&gt;
    <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://mydomain.nl/foo">http://mydomain.nl/foo</a></b><br>
    if ($host ~* www\.(.*)) {<br>
       set $host_without_www $1;<br>
       rewrite ^(.*)$ <a moz-do-not-send="true"
 class="moz-txt-link-freetext" href="http://$host_without_www$1">http://$host_without_www$1</a>
permanent;<br>
    }<br>
}</tt><br>
  </blockquote>
Пример взял здесь - <a moz-do-not-send="true"
 class="moz-txt-link-freetext"
 href="http://denis.in.ua/301-redirect-with-nginx.htm">http://denis.in.ua/301-redirect-with-nginx.htm</a>
.<br>
  <br>
Здесь, по идее, должны теряться query string? Верно? Или я че-то не
понимаю? <br>
</blockquote>
В общем, вопрос - как сделать редирект <tt><b><a moz-do-not-send="true"
 class="moz-txt-link-freetext" href="http://www.mydomain.nl/foo">http://www.mydomain.nl/foo?param</a>
=&gt;
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://mydomain.nl/foo">http://mydomain.nl/foo?param</a><br>
???<br>
</b></tt><br>
</body>
</html>