index bug?

Igor Sysoev is at rambler-co.ru
Tue Jun 27 20:42:52 MSD 2006


On Tue, 27 Jun 2006, Dmitriy Yermakov wrote:

> непонятки
>
>        location /awstats/ {
>                index awstats.doo.main.html;
>                autoindex  on;
>                autoindex_exact_size on;
>                autoindex_localtime on;
>                root  /www/doo.main;
> 	}
>
> $ pwd
> /www/doo.main/awstats
> $ ls -al index.html awstats.doo.main.html
> -rw-r--r--  1 root  wheel  91570 Jun 27 17:54 awstats.doo.main.html
> lrwxr-xr-x  1 root  wheel     51 Jun 27 20:15 index.html -> awstats.doo.main.html
>
> убираем index.html -
> 2006/06/27 20:15:08 [error] 72126#0: *15547 directory index of "/www/doo.main/awstats/" is forbidden, client: 192.168.10.10,
> server: www.doo.main, URL: "/awstats/", host: "www.doo.main"

Это странно. Можно сделать отладочный лог ?


Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list