| 
 
 
 | 
| Keep Server Online 
 If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
 
 or
 
 
   
 A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
 
 Thank You! Steffen
 
 Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
 |  | 
 | 
| | 
| | 
|  Topic: How to force SSL on Apache 2.2 reverse proxy |  |  
| Author |  |  
| Minson2000 
 
 
 Joined: 23 Nov 2014
 Posts: 1
 Location: Virginia USA
 
 | 
|  Posted: Sun 23 Nov '14 14:54    Post subject: How to force SSL on Apache 2.2 reverse proxy |   |  
| 
 |  
| We are struggling to configure our Apache reverse proxy (on WIN 2008) server to force https. 
 We have the cert installed on the proxy server, and it seems to be working but we are unable to force connections to https: and the site is still available via http:
 
 How do you enforce https on the site?
 
 reading read about the .htaccess file, virtual hosts but still having a hell of a time putting it all together
 
 Internet -> SSL -> Apache 2.2 -> HTTP -> web app
 
 Thanks!
 
 -Minson
 |  |  
| Back to top |  |  
| Rotor 
 
 
 Joined: 28 Oct 2014
 Posts: 9
 Location: France,lyon
 
 | 
|  Posted: Fri 28 Nov '14 11:42    Post subject: |   |  
| 
 |  
| <VirtualHost *:443> SSLEngine on
 
 
 <LocationMatch (?i)/xxx|yyy>
 SSLRequireSSL
 ProxyPassMatch http:
 
 
 works for us
 |  |  
| Back to top |  |  
| jraute 
 
  
 Joined: 13 Sep 2013
 Posts: 188
 Location: Rheinland, Germany
 
 | 
|  Posted: Mon 01 Dec '14 9:36    Post subject: |   |  
| 
 |  
|  	  | Code: |  	  | #Listen 80 Listen 443
 
 | 
 |  |  
| Back to top |  |  
 
 | 
 |  | 
 |  |