httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evgeny Kotkov <>
Subject [PATCH] mod_rewrite: support proxying via mod_proxy_http2
Date Thu, 12 May 2016 14:34:07 GMT
I noticed that it's currently impossible to use mod_proxy_http2 in
conjunction with mod_rewrite's [P] request proxying:

    RewriteEngine  On
    RewriteRule  ^/foo  h2c://hostname/bar  [P]

mod_proxy_http2 registers on h2:// and h2c:// proxy URLs [1], however,
mod_rewrite needs an update to handle these as absolute URIs.  Without
that, the configuration above is going to produce incorrectly rewritten
rewritten URLs, e.g.:

I attached the patch with a fix for this issue.  The second patch adds
the corresponding tests to the mod_http2 testing framework.


Evgeny Kotkov

View raw message