Hmm, can someone with more brains than me on mod_rewrite look at the first 
patch if we want to add handling for h2: and h2c: uri schemes here or if there 
is a better way? Thanks.

-Stefan

> Am 12.05.2016 um 16:34 schrieb Evgeny Kotkov <evgeny.kot...@visualsvn.com>:
> 
> 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.:
> 
>   http://www.example.org/h2c://hostname/bar
> 
> I attached the patch with a fix for this issue.  The second patch adds
> the corresponding tests to the mod_http2 testing framework.
> 
> [1] 
> https://mail-archives.apache.org/mod_mbox/httpd-dev/201602.mbox/%3cccc0ea0e-00ce-430d-a01c-022e7a2ff...@greenbytes.de%3E
> 
> 
> Regards,
> Evgeny Kotkov
> <h2-proxy-rewrite-v1.patch.txt><h2-proxy-rewrite-test-v1.patch.txt>

Reply via email to