Forcing SSL using Apache |
|
|
|
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]
|
|
(c) Kartikaya Gupta, 2004-2010. User comments owned by their respective posters. All rights reserved. Secure site. |