Created
February 14, 2018 16:05
-
-
Save tghelere/92f80ee5ff98f3b12197111cbb0fad3c 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
AddDefaultCharset UTF-8 | |
Options -Indexes | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-l | |
RewriteCond %{REQUEST_URI} !^.*[^/]$ | |
RewriteCond %{REQUEST_URI} !^.*//.*$ | |
RewriteCond %{QUERY_STRING} !.*=.* | |
RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] | |
RewriteCond %{HTTP:Accept-Encoding} gzip | |
RewriteCond %{HTTPS} !on | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment