Nginx 0.8.54: Index files bug?
Igor Sysoev
igor at sysoev.ru
Fri Feb 11 15:44:13 MSK 2011
On Fri, Feb 11, 2011 at 07:16:22AM -0500, Dayo wrote:
> Igor Sysoev Wrote:
> -------------------------------------------------------
> > > It seems that the index module does not work
> > with the try_files
> > > directive. Would have expected the trying of
> > '$uri/' to include the
> > > defined index but it doesn't do so.
> > >
> > > Anyone else notice this?
> >
> > What is in error_log ?
>
> Nothing.
>
> Here is my Nginx -V
>
> [root at server01 ~]# nginx -V
> nginx version: nginx/0.8.54
> built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
> TLS SNI support disabled
> configure arguments:
> --user=nginx
> --group=nginx
> --prefix=/usr/share/nginx
> --sbin-path=/usr/sbin/nginx
> --conf-path=/etc/nginx/nginx.conf
> --error-log-path=/var/log/nginx/error.log
> --http-log-path=/var/log/nginx/access.log
> --http-client-body-temp-path=/var/lib/nginx/tmp/client_body
> --http-proxy-temp-path=/var/lib/nginx/tmp/proxy
> --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi
> --pid-path=/var/run/nginx.pid
> --lock-path=/var/lock/subsys/nginx
> --with-http_ssl_module
> --with-http_realip_module
> --with-http_stub_status_module
> --with-http_perl_module
> --with-mail
> --with-mail_ssl_module
> --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables'
> --add-module=/usr/src/redhat/BUILD/nginx-0.8.54/nginx-upstream-fair
> --add-module=/usr/src/redhat/BUILD/nginx-0.8.54/ngx_cache_purge-1.2
> --add-module=/usr/src/redhat/BUILD/nginx-0.8.54/ngx-headers-more
> --add-module=/usr/src/redhat/BUILD/nginx-0.8.54/ngx-devel-kit
> --add-module=/usr/src/redhat/BUILD/nginx-0.8.54/ngx-echo-module
> --add-module=/usr/src/redhat/BUILD/nginx-0.8.54/ngx-lua-module
> --without-http_autoindex_module
> --without-http_empty_gif_module
> --without-http_memcached_module
> --without-http_scgi_module
> --without-http_split_clients_module
> --without-http_ssi_module
> --without-http_upstream_ip_hash_module
> --without-http_uwsgi_module
>
>
> As shown, I do have a few 3rd party modules and I disabled a few
> standard ones I don't use.
>
> I did notice a while back that stuff did not work when the perl module
> was disabled and perhaps disabling the autoindex module is affecting
> this.
Standard nginx modules logs a reason of 500 error.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list