Created
June 27, 2017 21:34
-
-
Save evaldosantos/1e0e6530580c618dd9e90cabf7c9dd5f to your computer and use it in GitHub Desktop.
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 %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# not rewrite css, js and images | |
RewriteCond %{REQUEST_URI} !\.(?:css|js|map|jpe?g|gif|png)$ [NC] | |
RewriteRule ^(.*)$ /index.html?path=$1 [NC,L,QSA] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment