Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: basic - ?



On Wed, Dec 22, 2010 at 12:50:01PM +0300, Alexander Kochetov wrote:

> >>   
> >> :
> >>
> >>    location / {...}
> >>    location ^~ /protected {
> >>      auth_basic      "Protected";
> >>      auth_basic_user_file /home/user/etc/.htpasswd;
> >>      location ~ \.php$ {...}
> >>    }
> >>    location ~ \.php$ {...}
> >
> >
> > location ^~ /protected { -   ? 
> > location /protected {
> 
> ,      /protected/zzz.php
> ģ 
> location ~ \.php$ {...}
>   
> location /protected {
>         location ~ \.php$ {...}
> }

 location      ,
 .


-- 
 
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.