Created
May 16, 2019 05:43
-
-
Save bennet-esyoil/e31d79f0ab9051e1bb07073814d9e697 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
Options +FollowSymLinks | |
RewriteEngine On | |
RewriteRule !\.(ico|gif|jpg|png|css|js|swf|flv|map|ttf|woff|woff2|svg|min.js) index.php [QSA,L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)/(assets|plugins|css|png|img|imgs|js)/(.*) _views/$2/$3 [L,NC] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ \_views/$1 [NC,L] | |
<Files config.json> | |
Order allow,deny | |
Deny from all | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment