config file for only static files.

Igor Sysoev is at rambler-co.ru
Sun Apr 6 12:11:35 MSD 2008


On Sun, Apr 06, 2008 at 04:07:08AM -0400, Amer Shah wrote:

> DX-20070509-049# cd /usr/local/www
> DX-20070509-049# ll
> total 14
> lrwxr-xr-x  1 root  wheel    27 Apr  2 21:41 cgi-bin ->
> /usr/local/www/cgi-bin-dist
> dr-xr-xr-x  2 root  wheel   512 Apr  2 21:41 cgi-bin-dist
> drwxr-xr-x  9 root  www    3584 Apr  6 03:45 data
> dr-xr-xr-x  2 root  wheel  1024 Apr  2 21:41 data-dist
> drwxr-xr-x  3 root  wheel  3584 Apr  2 21:41 icons
> drwxr-xr-x  2 www   www     512 Apr  6 03:25 proxy
> 
> It seems www has permissions to /usr/local/www/data
> 
> My error log shows this :
> 
> 2008/04/06 03:44:38 [error] 84393#0: *1 directory index of
> "/usr/local/www/data/" is forbidden

What does show

ls -l /usr/local/www/data/index.htm

?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list