Created
July 10, 2016 05:48
-
-
Save mzo84/aff9003783f90b5638baa7c00c4e6b35 to your computer and use it in GitHub Desktop.
pretty url htaccess for yii 2 - put in /web folder
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 | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^/?basic/(.*)$ /basic/index.php/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment