Created
May 16, 2016 09:09
-
-
Save marcuzy/4527f38f32c5596aa768d4158165e823 to your computer and use it in GitHub Desktop.
htaccess for yii2
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
# If a directory or a file exists, use it directly | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# Otherwise forward it to index.php | |
RewriteRule . index.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment