Created
December 12, 2010 09:24
-
-
Save buk/737952 to your computer and use it in GitHub Desktop.
A .htaccess file to point a subdomain to a folder
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^[www\.]*blog.domain.de [NC] | |
RewriteCond %{REQUEST_URI} !^/blog/.* | |
RewriteRule ^(.*) /blog/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment