config file for only static files.
Amer Shah
amerrahman at gmail.com
Sun Apr 6 12:16:49 MSD 2008
There is no index.htm .. I'm using gzip_static and only have index.htm.gz
there .
DX-20070509-049# ls -l /usr/local/www/data/index.htm.gz
-rw-r--r-- 1 root www 5552 Apr 6 03:49 /usr/local/www/data/index.htm.gz
Also note that when i do www.hostname.com/index.htm , it works fine.
On Sun, Apr 6, 2008 at 4:11 AM, Igor Sysoev <is at rambler-co.ru> wrote:
> 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/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080406/a6f6b95b/attachment.html>
More information about the nginx
mailing list