-    :)<br><br><div class="gmail_quote">7  2009 . 16:08  Sergey Shepelev <span dir="ltr">&lt;<a href="mailto:temotor@gmail.com">temotor@gmail.com</a>&gt;</span> :<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

   ,  location /   ^/.* ?<br>
location /    .    <br>
  /.<br>
<div class="im"><br>
2009/7/7 &lt;<a href="mailto:maxhl@hitline.net.ua">maxhl@hitline.net.ua</a>&gt;:<br>
</div><div><div></div><div class="h5">&gt;  .<br>
&gt;   :<br>
&gt;<br>
&gt;  location / {<br>
&gt;    auth_basic      &quot;closed site&quot;;<br>
&gt;    auth_basic_user_file /home/htdocs/.ht_passwd;<br>
&gt;    index index.pl;<br>
&gt;  }<br>
&gt;<br>
&gt;   :<br>
&gt;<br>
&gt;  location /stats {<br>
&gt;     auth_basic      &quot;closed site&quot;;<br>
&gt;    auth_basic_user_file /home/htdocs/stats/.ht_passwd;<br>
&gt;    index index.pl;<br>
&gt;    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br>
&gt;    fastcgi_param SCRIPT_NAME $fastcgi_script_name;<br>
&gt;    fastcgi_pass  unix:/mnt/md0/nginx-fcgi.sock;<br>
&gt;    fastcgi_index  index.pl;<br>
&gt;    include /usr/local/nginx/conf/fastcgi.conf;<br>
&gt;  }<br>
&gt;<br>
&gt;     /stats   /home/htdocs/.ht_passwd; <br>
&gt;    <br>
&gt;<br>
&gt; HTTP request sent, awaiting response... 401 Unauthorized<br>
&gt; Authorization failed.<br>
&gt;<br>
&gt;   /home/htdocs/stats/.ht_passwd;    ...<br>
&gt;     location ?<br>
&gt; ____________________________<br>
&gt;   Max ICQ 71006063<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> ,  .<br>icq 77556665<br>e-mail <a href="mailto:boris@dolgov.name">boris@dolgov.name</a><br>