<font color="#333399"><font>Thanks for the help!<br>Needed some other tricks playing with the path...<br><br>Many thanks again! ;o)</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 Fri, Jan 27, 2012 at 16:51, Max <span dir="ltr"><<a href="mailto:nginxyz@mail.ru">nginxyz@mail.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>
28 января 2012, 00:44 от "<a href="mailto:reallfqq-nginx@yahoo.fr" target="_blank">reallfqq-nginx@yahoo.fr</a>" <u></u>:
> I know this Wiki page...
> I guess return/rewrite are useless here: I only want to change the root and
> activate the directory listing when the user is on a specific directory of a
> specific domain.

> Any more help ? :\

I just explained how this is handled here:
<a href="http://mailman.nginx.org/pipermail/nginx/2012-January/031622.html" target="_blank">http://mailman.nginx.org/pipermail/nginx/2012-January/031622.html</a> 

In your case use the rewrite inside the if block and and then
change root and set autoindex inside the internal URI block.

Max</div>
<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>