Wha difference between HTTP_FILTER_MODULES and HTTP_AUX_FILTER_MODULES is it?

quan nexthop quan.nexthop at gmail.com
Tue Nov 23 20:22:58 MSK 2010

Hi Maxim:

Thanks your response quickly.
I try to development a filter module(string filter for request body),
however, I found that
  1) use HTTP_FILTER_MODULES to register, the module works well
  2) use HTTP_AUX_FILTER_MODULES, it does not work.

I wonder why there is two different behavior for the MODULE_NAME;
I also check the config file of NGINX, there are several MODULE :

if [ $HTTP = YES ]; then
    modules="$modules $HTTP_MODULES $HTTP_FILTER_MODULES \

What does it mean and when should it be used ?


On Tue, Nov 23, 2010 at 8:55 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
> On Tue, Nov 23, 2010 at 08:00:55AM -0800, quan nexthop wrote:
> > If we want add a "string filter", which chain should be registered?
> Third party filters should use HTTP_AUX_FILTER_MODULES (unless
> there is a really good reason to register elsewhere, e.g. you are
> developing something like bzip2 filter and need response with
> joined subrequests).
> Maxim Dounin
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101123/78e17e3a/attachment-0001.html>

More information about the nginx mailing list