location auth_basic

L0rda l0rda at l0rda.biz
Fri Jul 15 17:07:29 MSD 2005


mFF wrote:

> nginx-0.1.39
>
> в конфиге следующая вещь
>
>         location /restr/ {
>             auth_basic  "Bla bla";
>             auth_basic_user_file   /usr/local/etc/nginx/nginx.pwd;
>     }
>
> Авторизация проходит.
> Но после авторизации любуемся
> 404 Not Found
> nginx/0.1.39
>
> В логах
> 192.168.0.1 - - [15/Jul/2005:16:34:54 +0400] "GET /restr/ HTTP/1.0" 404
> 169 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
> Gecko/20050711 Firefox/1.0.5"
>
> ???
>
>
>
Вы забыли root указать.

-- 
Best regards, Kirill,
http://www.Fedora-Hosting.com






More information about the nginx-ru mailing list