/U wrote:
Thanks Andre and Jorge. I combined your suggestions to
arrive at the following:
ProxyRequests Off
BalancerMember http://server:8080/
Redirect /securehttps://server/secure
ProxyPass /secure balancer://clu
Thanks Andre and Jorge. I combined your suggestions to
arrive at the following:
ProxyRequests Off
BalancerMember http://server:8080/
Redirect /securehttps://server/secure
ProxyPass /secure balancer://clusterx/
If you want to go SSL here is an easier way to check for SSL
RewriteEngine On
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^/secure(.*) https://%{SERVER_NAME}/secure$1 [R,L]
You way also want to look at the P flag to proxy the request.
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritefl
/U wrote:
Apache: 2.2.0
I need to
a) require SSL on requests to /secure (i.e., http://server/secure ->
https://server/secure)
b) and as the second step, offload (proxy) https://server/secure to
http://server:8080/secure
I don't know the details, but the following may work :
You may need
Thanks for the note.
When I use the P flag with the RewriteRule, ProxyPass
fails, since I do not have an SSLProxy.
What I have is this:
(Apache web server) <-> Tomcat servlet container
What I need is to:
- require all requests for ^/secure/... to be made thru https
- termin
On Fri, Jul 31, 2009 at 8:20 PM, /U wrote:
>
> Apache: 2.2.0
>
> I need to
> a) require SSL on requests to /secure (i.e., http://server/secure ->
> https://server/secure)
> b) and as the second step, offload (proxy) https://server/secure to
> http://server:8080/secure
>
> I thought I could acco
Apache: 2.2.0
I need to
a) require SSL on requests to /secure (i.e., http://server/secure ->
https://server/secure)
b) and as the second step, offload (proxy) https://server/secure to
http://server:8080/secure
I thought I could accomplish (a) using mod_rewrite and (b) using Proxy pass
as f