Created
March 9, 2014 05:46
-
-
Save macbleser/9443384 to your computer and use it in GitHub Desktop.
.htaccess redirect to specific port
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymLinks -MultiViews | |
# Turn mod_rewrite on | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP_HOST} ^macbleser.dev$ [NC] | |
RewriteCond %{HTTPS} off | |
RewriteRule ^ http://macbleser.dev:2368%{REQUEST_URI} [P,QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment