This topic describes how to set up a site to act as a reverse
proxy for a resource that is hosted on a secure site.
About this task
The following steps describe how to set up a reverse proxy
configuration for a company (for example,
www.example.com)
which wants to act as a reverse proxy for a resource that is hosted
on a secure site (for example,
internal.example.com).
Procedure
- Configure www.example.com similar to the following
example:
<VirtualHost *:80>
ServerName host1
SSLProxyEngine On
KeyFile "c:/program files/ibm http server/clientkey.kdb"
ProxyPass /ssl/password.html https://examplehost/password.html
</VirtualHost>
- Configure internal.example.com similar to the
following example:
<VirtualHost *:443>
SSLEnable
KeyFile "c:/program files/ibm http server/serverkey.kdb"
</VirtualHost>
Results
When a browser requests
http://www.example.com/ssl/password.html, IBM® HTTP
Server makes a connection to
internal.ibm.com using SSL.
If
internal.example.com requires a client certificate, IBM HTTP
Server uses the default certificate of the KeyFile for which it is
configured.