Re: Handler modules : Content Handler vs Content Phase Handler

2015-09-05 Thread goldfluss
Thanks for your detailed reply ! Have a nice weekend. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261433,261449#msg-261449 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Handler modules : Content Handler vs Content Phase Handler

2015-09-04 Thread goldfluss
Hello ! I'm developping some handler modules for nginx and I'm wondering why they are two kinds of handlers : - Content Phase Handler - Content Handler I read this interesting blog : http://www.nginxguts.com/2011/01/phases/ As far as I understood, the content handler could only be called once in a

Module : showing content of the folder

2015-05-03 Thread goldfluss
esn't work (The module is activated in the same folder as the content I want to show, so I can't use ngx_http_internal_redirect) What I want to know, is if I need to configure the header / output myself or if i have to set a variable in ngx_http_request_t to 0? Thanks for your help, Goldfl