On Wed, Oct 9, 2013 at 2:17 PM, Mike Rumph <[email protected]> wrote:
> Okay, I've confirmed that the following configuration works for httpd
> trunk and httpd 2.2.25:
>
>
> RewriteEngine On****
>
> ** **
>
> RewriteCond %{HTTPS} =off****
>
> RewriteRule . - [E=protocol:http]****
>
> RewriteCond %{HTTPS} =on****
>
> RewriteRule . - [E=protocol:https]****
>
> ** **
>
> RewriteRule ^/my_app/(.*) %{ENV:protocol}://1.2.3.4/my_app/$1 [P]****
>
> ProxyPassReverse /my_app/ http://1.2.3.4/my_app/****
>
> ProxyPassReverse /my_app/ https://1.2.3.4/my_app/
>
> So I submit the attached patch to the doc for review.
>
> Thanks,
>
> Mike Rumph
>
> The patch looks reasonable to me, though I will change "is not permitted
within the scheme" to "is not supported within the scheme" since there is
no logic to disallow it (it simply doesn't work). Any concerns before I
commit?
> On 9/17/2013 9:32 AM, Jim Jagielski wrote:****
>
> +1****
>
> On Sep 17, 2013, at 11:32 AM, Jeff Trawick
> <[email protected]><[email protected]>wrote:
> ****
>
> not really a rewrite fan, but I think that's better than code****
>
> so IMO we should doc that interpolation isn't supported in the scheme, and
> instead a solution like that should be used
>
>
>
--
Born in Roswell... married an alien...
http://emptyhammock.com/