Help with autoindex on; missing slash for directories

Igor Sysoev is at rambler-co.ru
Fri Jul 17 15:14:35 MSD 2009


On Fri, Jul 17, 2009 at 07:01:00AM +0400, Maxim Dounin wrote:

> Hello!
> 
> On Thu, Jul 16, 2009 at 04:25:16PM -0700, Yazz D. Atlas wrote:
> 
> > Maxim,
> >
> > Ok finally added the patch with the I believe the right stuff. Attached 
> > is the patch and the log file.
> >
> > I just ran "GET http://localhost:88/static"
> 
> Ok, thanx.  According to
> 
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: ".svn", type 4
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: "questionnaires", type 10
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: "site", type 10
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: "50x.html", type 8
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: "rev.txt", type 8
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: ".", type 4
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: "protocols", type 10
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: "video", type 10
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: "..", type 4
> 2009/07/16 16:16:10 [debug] 20579#0: *2 http autoindex file: "content", type 10
> 
> the only directories here are '.svn', '.' and '..'.  It's symlinks 
> to directories that has no slash now.
> 
> I'll take a look how to fix this properly.

I've reproduced this bug on FreeBSD too. Will look how to resolve this.


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





More information about the nginx mailing list