Last active
June 26, 2016 04:23
-
-
Save sdglhm/3f64dd95a4e02bb28f9633f106fa2038 to your computer and use it in GitHub Desktop.
This file contains 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
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP_HOST} ^sub\.yourdomain\.com$ [NC] | |
RewriteCond %{REQUEST_URI} !^/sub [NC] | |
RewriteRule ^(.*)$ /?x=$1 [L |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment