httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: Regexp-based rewriting for mod_headers?
Date Thu, 28 Sep 2006 17:29:24 GMT
On 9/28/06, Nick Kew <nick@webthing.com> wrote:
>
> We have a problem with DAV + SSL hardware.
> It appears to be the issue described in
> http://svn.haxx.se/users/archive-2006-03/0549.shtml
>
> It seems to me that the ability to rewrite a request header
> will fix that.  As a generic fix, I've patched mod_headers
> to support regexp-based rewriting of arbitrary headers.
>
> Please review.  If people like this (or if noone objects and I
> find the time), I'll document it and commit to /trunk/.

The patch seems reasonable, but I've never messed with mod_headers, so
bear with me.  It should let you do something like:

Header edit <header> <regex> <replace-string>

Right?  Could you provide an example so I can confirm that it's
working correctly?

-garrett

Mime
View raw message