My filter module is not called

cubicdaiya nginx-forum at nginx.us
Sun Aug 11 18:44:28 UTC 2013


Hi.

2013/8/11 ruslan_osmanov <nginx-forum at nginx.us>
> There is some testing code in header/body filters. I'm launching the
server
> merely to see whether my code is invoked. All configuration and cleanup
> stuff
> seems to be working. But the header/body filters are not called at
all(both
> call
> ngx_log_error).
> 
> Vhost configuration: http://bpaste.net/show/121898/
> The module: http://bpaste.net/show/121900/
> 
> Please help to figure out what's wrong with it.

https://gist.github.com/cubicdaiya/6206206

After I built your module with the above config 
the header/body filter functions are called in my environment.
Maybe the cause is in config. For example, using HTTP_MODULES instead of
HTTP_FILTER_MODULES.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241761,241763#msg-241763



More information about the nginx mailing list