Help with autoindex on; missing slash for directories

Yazz D. Atlas yazz.atlas at
Fri Jul 17 03:25:16 MSD 2009


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"


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-nginx-debug-autoindex-ver-02.txt
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx-autoindex-debug.log
Type: application/octet-stream
Size: 12587 bytes
Desc: not available
URL: <>
-------------- next part --------------

On Jul 3, 2009, at 1:49 AM, Maxim Dounin wrote:

> Hello!
> On Fri, Jul 03, 2009 at 11:55:22AM +0800, Joshua Zhu wrote:
>> Hi Maxim!
>>> Could you please compile nginx with the attached simple patch and
>>> obtain debug log for autoindex request?
>> IMHO, the ngx_log_debug1 in your patch should be changed to  
>> ngx_log_debug2 :)
> Yes, you are right, I missed it.  But it doesn't matter as long as  
> nginx
> compiled --with-debug.  And this in turn is required since I need
> this patch just for more verbose debug log on particular system. :)
> Maxim Dounin

More information about the nginx mailing list