You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ernst Jan Plugge <rm...@dds.nl> on 2004/07/30 18:30:55 UTC
[users@httpd] Setting scheme for ProxyPassReverse
Hi,
I am setting up an Apache instance that, among other things, accesses a
web application on a backend server (running BEA WebLogic). The set up has
three layers: first layer is an SSL offload machine that accepts the HTTPS
connections and does the SSL thing. It then forwards the request as an
HTTP request to my Apache instance on port 81, which in turn talks to the
backend server. I have something like the following in my Apache config:
RewriteRule ^/(.*)$ http://backendserver/$1 [P,L]
ProxyPassReverse / http://backendserver/
This works fine, except for redirects generated by the backend: Apache
rewrites them to the form http://frontendserver:81/[...], where it needs
to be https://frontendserver/[...].
The port 81 I can get rid of using ServerName (I have UseCanonicalName
turned on), but I can't convince mod_proxy to use the https scheme.
Is there some way to do this without having Apache actually handling the
SSL? I'm using 2.0.50.
I'm also trying to get the SSL offload server to do this instead, but the
thing tends to be temperamental, so I'd rather let Apache do this if I
can.
Ernst Jan
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org