Welcome! Log In Create A New Profile

Advanced

Re: Filter module callback not been called

March 01, 2012 01:06PM
I think the problem is in config file.

Try to set this
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES
ngx_http_simple_example_module "

instead of this

HTTP_MODULES="$HTTP_MODULES ngx_http_simple_example_module"

To enable your module as a filter module

Regards

On Thu, Mar 1, 2012 at 2:22 PM, Lucas Brasilino
<lucas.brasilino@gmail.com>wrote:

> Hi!
>
> I gonna write a filter module so I'm starting to do some experiments.
> I did a simple handler module that can be seen at [1] and is working fine.
>
> I'm facing a little problem. It should be some detail I can't see right
> now. My filter module callback is not been called.
>
> The code is here: http://pastebin.com/wUB5H0A3
>
> I registered the filter to the 'filters chain' at
> 'ngx_http_static_header_init()'.
>
> ngx_http_static_header_init() is called, but
> ngx_http_static_header_filter() is
> not.
>
> Where is my mistake ? :)
>
> thanks in advance
> Lucas Brasilino
>
>
> [1] https://github.com/lucasbrasilino/ngx_http_simple_example
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Filter module callback not been called

Lucas Brasilino 1293 March 01, 2012 12:24PM

Re: Filter module callback not been called

wandenberg 701 March 01, 2012 01:06PM

Re: Filter module callback not been called

Lucas Brasilino 634 March 01, 2012 01:44PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready