Personal tools
You are here: Home Apache Sending all requests from http to https

 

Document Actions

Sending all requests from http to https

by Mark Allen last modified 2008-04-15 23:54

Add the following lines to the VirtualHost directive:


RewriteEngine on
# Redirect any traffic to https
RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [L,R]
Ads
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: