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.mycompany.com) which wants to act
as a reverse proxy for a resource that is hosted on a secure site (for example, internal.mycompany.com).
Procedure
- Configure www.mycompany.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.mycompany.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.mycompany.com/ssl/password.html,
IBM HTTP Server makes a connection to internal.ibm.com using SSL.
If internal.mycompany.com requires a client certificate, IBM HTTP
Server uses the default certificate of the KeyFile for which it is configured.