Instantly share code, notes, and snippets.

Embed
What would you like to do?
.htaccess redirect to specific port
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