Created
February 1, 2010 04:39
-
-
Save bjhess/291457 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
# Specific rewrite rules for blog traffic | |
<Directory /server/directory/to/app/current/public/blog> | |
RewriteEngine On | |
RewriteBase /blog/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /blog/index.php [L] | |
</Directory> | |
RewriteRule ^/blog$ /blog/index.php [QSA] | |
RewriteRule ^(/blog.*/$)$ $1/index.php [QSA] | |
RewriteRule ^/blog/?(.*)$ %{DOCUMENT_ROOT}/blog/$1 [NC,QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment