index bug?

Vyacheslav slava at skitalets.ru
Wed Jun 28 09:09:55 MSD 2006


Hello Dmitriy,

Tuesday, June 27, 2006, 8:25:12 PM, you wrote:

DY> Hi,

DY> непонятки

DY>         location /awstats/ {
DY>                 index awstats.doo.main.html;
DY>                 autoindex  on;
DY>                 autoindex_exact_size on;
DY>                 autoindex_localtime on;
DY>                 root  /www/doo.main;
DY>         }

DY> $ pwd
DY> /www/doo.main/awstats
DY> $ ls -al index.html awstats.doo.main.html
DY> -rw-r--r--  1 root  wheel  91570 Jun 27 17:54 awstats.doo.main.html
DY> lrwxr-xr-x  1 root  wheel     51 Jun 27 20:15 index.html -> awstats.doo.main.html

DY> убираем index.html - 
DY> 2006/06/27 20:15:08 [error] 72126#0: *15547 directory index of "/www/doo.main/awstats/" is forbidden, client: 192.168.10.10,
DY>  server: www.doo.main, URL: "/awstats/", host: "www.doo.main"


А в doo.main права правильные (execute бит должен быть по-моему) ?

-- 
Best regards,
 Vyacheslav                            mailto:slava at skitalets.ru






More information about the nginx-ru mailing list