httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Using info in response headers to create new header
Date Fri, 27 Jul 2012 00:58:11 GMT

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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message