Skip to content

Instantly share code, notes, and snippets.

@edavis10
Created January 15, 2010 01:00
Show Gist options
  • Save edavis10/277672 to your computer and use it in GitHub Desktop.
Save edavis10/277672 to your computer and use it in GitHub Desktop.
RewriteEngine On
# Redirect any non HTTPS requests to the HTTPS server
RewriteCond %{HTTP_HOST} ^projects.littlestreamsoftware.com$ [NC]
RewriteRule ^(.*)$ https://projects.littlestreamsoftware.com$1 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment