On Thu, Oct 01, 2015 at 01:55:40PM +0200, Rainer Jung wrote: > Something different. Example: > > Header set X-USER "expr=%{REMOTE_USER} =~ s/([^@]*)@.*/$1/" > > ... > > The example might be artificial and mod_header might support doing > this in another way, but IMHO it would be a nice general feature for > the expression parser which would work without cooperation from the > modules/directives that use the expression parser.
This would be really neat. We have a few recipes where we abuse ModSecurity or mod_rewrite to achieve this. Having it available within the expression parser would simplify things a lot (and get rid of timing and hook precedence issues). Ahoj, Christian Folini -- Christian Folini - <christian.fol...@netnea.com>