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:[EMAIL PROTECTED] De la part de Zvi Kave
Envoyé : lundi 7 janvier 2008 12:16
À : users@httpd.apache.org
Objet : [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to