On Fri, Jul 27, 2012 at 10:58 AM, Nick Kew <n...@webthing.com> wrote:
> > On 27 Jul 2012, at 01:31, Igor Cicimov wrote: > > > Try this untested: > > > > SetEnvIf Set-Cookie mycookie=abc123-happy HAVE_happy > > How is that going to work? There are no response headers > at the point where setenvif runs! The same applies to similar > pseudo-programmatic approaches such as mod_rewrite. > > Header edit could do it, by appending the other header to the > one it's looking for (look up header equivalence in the HTTP > spec if you think that's not the same as what you asked for). > But there's no scripting engine, so what you can do is limited. > You'd need a script or module to do any more. > > -- > Nick Kew > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > Of course you are right. The SetEnvIf runs against the request not the response. So better try something like mod_perl, mod_cgi etc.