<< wlv001 - LMBENCH Results | Home | OpenSSL Quick Guide >>

Apache HTTPD - Force HTTP Traffic to HTTPS

The following configuration at the VirtualHost level will force users from an unencrypted VirtualHost to one with the same host-name using SSL...

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Tags : ,
Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

Export this post as PDF document  Export this post to PDF document




Add a comment Send a TrackBack