Hi,
I have a problem I can't seem to solve:
I run an apache on port 80 and 443 which needs to connect to another apache on port 9080 and 9443.
I use for non-ssl the proxy directive:
ProxyPass /nonssl ProxyPassReverse /nonssl
This works fine, but when it comes to port 9443 I get into problems. I use:
ProxyPass /ssl ProxyPassReverse /ssl
What happens is that it is connecting correct to the /ssl directory on port 9443, but I need to redirect the users browsers to https if they are on http!
I have tried writing Redirect and Rewrite directives to no avail.
I put them after the proxy directives in the conf. i.e
Redirect or
RewriteRule ^/ssl(.*)$ [L]
or
RewriteRule ^/ssl(/)?$ [R,L]
or
RedirectMatch ^/ssl(.*)
If I manually type in it works fine though.
Anyone with ideas?
Thanks!
I have a problem I can't seem to solve:
I run an apache on port 80 and 443 which needs to connect to another apache on port 9080 and 9443.
I use for non-ssl the proxy directive:
ProxyPass /nonssl ProxyPassReverse /nonssl
This works fine, but when it comes to port 9443 I get into problems. I use:
ProxyPass /ssl ProxyPassReverse /ssl
What happens is that it is connecting correct to the /ssl directory on port 9443, but I need to redirect the users browsers to https if they are on http!
I have tried writing Redirect and Rewrite directives to no avail.
I put them after the proxy directives in the conf. i.e
Redirect or
RewriteRule ^/ssl(.*)$ [L]
or
RewriteRule ^/ssl(/)?$ [R,L]
or
RedirectMatch ^/ssl(.*)
If I manually type in it works fine though.
Anyone with ideas?
Thanks!