httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel-Stephane SMORGRAV" <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: [users@httpd] Reverse Proxy to SSL web server: configuration example
Date Mon, 07 Jan 2008 13:45:07 GMT
If you add the config below to a vanilla httpd.conf, you'll be pretty close to what you are
looking for. Just replace the tokens %%TOKEN%% with whatever value you want.


Listen %%svcb_HTTP_ADDR%%:%%HTTP_PORT%%
Listen %%svcb_HTTP_ADDR%%:%%HTTPS_PORT%%

<VirtualHost %%svcb_HTTP_ADDR%%:%%HTTPS_PORT%%>

   ServerName %%svcb_PUBLIC_NAME%%:%%HTTPS_PORT%%   

   SSLCertificateFile %%X509_ROOT%%/ssl.crt/%%svcb_PUBLIC_NAME%%.crt
   SSLCertificateKeyFile %%X509_ROOT%%/ssl.key/%%svcb_PUBLIC_NAME%%.key
   SSLEngine on

   DocumentRoot %%SERVER_ROOT%%/htdocs/svcB

   ErrorLog %%SERVER_LOGS%%/svcB/reverse_error_log
   CustomLog %%SERVER_LOGS%%/svcB/reverse_access_log combined env=!dontlog

   ## Enter additional configuration here

</VirtualHost>                                  

<VirtualHost %%svcb_HTTP_ADDR%%:%%HTTP_PORT%%>

   ServerName %%svcb_PUBLIC_NAME%%:%%HTTP_PORT%%   

   DocumentRoot %%SERVER_ROOT%%/htdocs/svcB

   ErrorLog %%SERVER_LOGS%%/svcB/reverse_error_log
   CustomLog %%SERVER_LOGS%%/svcB/reverse_access_log combined env=!dontlog

   ## Enter additional configuration here

</VirtualHost>                                  



-ascs
 
-----Message d'origine-----
De : news [mailto:news@ger.gmane.org] De la part de Zvi Kave
Envoyé : lundi 7 janvier 2008 12:16
À : users@httpd.apache.org
Objet : [users@httpd] Reverse Proxy to SSL web server: configuration example

Dear friends,
I am trying to find the configuration for a Reverse Proxy server which has to work with a
SSL / non-SSL web server.
Can someone send me full httpd.conf example for such thing?
I need something with probably 2 Virtual hosts for ports 80 / 443.
I hope that I have not to deal with the web server SSL crt/key.

Thanks,

Zvi




---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


Mime
View raw message