<font color="#333399"><font>Thanks,<br><br>It appeared that with some other tests my solution was working...... Browser cache troubles, it seems.<br>Sorry to have bothered you :o\<br><br>Thanks anyway,</font></font><br clear="all">

<font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font><br>
<br><br><div class="gmail_quote">On Wed, Feb 1, 2012 at 01:02, António P. P. Almeida <span dir="ltr"><<a href="mailto:appa@perusio.net">appa@perusio.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On 1 Fev 2012 05h32 WET, <a href="mailto:reallfqq-nginx@yahoo.fr">reallfqq-nginx@yahoo.fr</a> wrote:<br>
<br>
> [1  <multipart/alternative (7bit)>]<br>
> [1.1  <text/plain; UTF-8 (7bit)>]<br>
<div class="im">> Hello,<br>
><br>
> I would like to set up a rule redirecting the root location to<br>
> another address, but to serve files inside this location directly.<br>
> I tried the following: location = / { rewrite .* <a href="http://inter.net" target="_blank">http://inter.net</a><br>
> permanent; }<br>
<br>
</div>location = / {<br>
    return 301 <a href="http://inter.net" target="_blank">http://inter.net</a>;<br>
}<br>
<br>
location / {<br>
    # serve the files here without a redirect<br>
}<br>
<br>
--- appa<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br>