Skip to content

Instantly share code, notes, and snippets.

@Azerothian
Created April 27, 2011 07:38
Show Gist options
  • Save Azerothian/943860 to your computer and use it in GitHub Desktop.
Save Azerothian/943860 to your computer and use it in GitHub Desktop.
RewriteEngine on
RewriteCond %{SERVER_PORT} !^80$
RewriteRule ^(.*) http://%{SERVER_NAME}%{REQUEST_URI} [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment