avtandilphangani/avtokit/master/.htaccess
DirectoryIndex index.php
# Restricted access to files
<FilesMatch ".(cache|db|log|po|pot|sql|razr)$">
Order allow,deny
</FilesMatch>
# Don't show directory listings
Options -Indexes
# URL rewrites
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* pagekit.php [L]
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
</IfModule>
# Redirect admin URL, if rewrite is not enabled
<IfModule !mod_rewrite.c>
<IfModule mod_alias.c>
RedirectMatch (.*)(?<!index.php)/admin$ $1/index.php/admin
</IfModule>
</IfModule>
# Media types
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
<IfModule mod_deflate.c>
AddEncoding gzip svgz
</IfModule>
</IfModule>
On Github License
Files