27 messages in ru.sysoev.nginxRe: Help with autoindex on; missing s...
FromSent OnAttachments
Yazz AtlasJun 30, 2009 11:08 pm 
Maxim DouninJul 1, 2009 2:30 am 
Yazz AtlasJul 1, 2009 9:48 am 
AMP AdminJul 1, 2009 10:44 am 
Maxim DouninJul 1, 2009 3:53 pm 
Maxim DouninJul 1, 2009 4:18 pm 
AMP AdminJul 1, 2009 8:05 pm 
Edho P AriefJul 1, 2009 8:37 pm 
AMP AdminJul 2, 2009 5:52 am 
Maxim DouninJul 2, 2009 8:24 am 
Yazz AtlasJul 2, 2009 11:01 am.gz
Maxim DouninJul 2, 2009 12:22 pm.txt
Joshua ZhuJul 2, 2009 8:54 pm 
Maxim DouninJul 3, 2009 1:49 am 
W. Andrew Loe IIIJul 5, 2009 10:14 am 
merlin coreyJul 6, 2009 5:43 pm 
Yazz D. AtlasJul 16, 2009 4:24 pm.txt, .log
Maxim DouninJul 16, 2009 8:00 pm 
Igor SysoevJul 17, 2009 4:14 am 
Maxim DouninJul 21, 2009 11:07 am.txt
chris_14278Oct 12, 2009 11:07 pm 
Igor SysoevOct 13, 2009 12:21 pm.txt
Maxim DouninOct 13, 2009 5:43 pm 
Igor SysoevOct 14, 2009 4:27 am 
Maxim DouninOct 14, 2009 5:22 am 
Igor SysoevOct 14, 2009 5:40 am 
Maxim DouninOct 14, 2009 6:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Help with autoindex on; missing slash for directoriesActions...
From:Yazz D. Atlas (yazz@gmail.com)
Date:Jul 16, 2009 4:24:53 pm
List:ru.sysoev.nginx
Attachments:
nginx-autoindex-debug.log - 16k

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"

-Yazz

--- nginx-0.8.5/src/http/modules/ngx_http_autoindex_module.c 2009-06-02
09:09:44.000000000 -0700 +++ nginx-0.8.5-patch/src/http/modules/ngx_http_autoindex_module.c 2009-07-16
15:57:15.000000000 -0700 @@ -277,8 +277,8 @@ break; }

- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, - "http autoindex file: \"%s\"", ngx_de_name(&dir)); + ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, + "http autoindex file: \"%s\", type %d",
ngx_de_name(&dir), dir.type);

len = ngx_de_namelen(&dir);

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. :)