I’m currently developing a filter module, and I want to activate it
The problem is that the flag is read when the configuration is parsed,
my_module off; inside an if statement has no effect.
I’m now planning on having my module taking variable that can be
inside an if statement. But I haven’t been able to find any existing
that does that.
So I was wondering if the usual way to do this was through rewrites to
location that have modules enabled or not.
The problem with that being if you have a lot of conditions then the
configuration starts being very hard to follow.
Any ideas on how to deal with this ?