Forcing SSL using Apache



OpenID Login [?]
Identity URL:


Remember me
All timestamps are based on your local time of:


  • If you don't have mod_rewrite installed, install it.
  • Add the following lines to the bottom of the httpd2.conf file:

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R]

[ Add a new comment ]

 
 
(c) Kartikaya Gupta, 2004-2010. User comments owned by their respective posters. All rights reserved. Secure site.