Htaccess File

mizzencms/site/master/.htaccess

REQUEST_FILENAME
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !^(.+).js$
    RewriteCond %{REQUEST_FILENAME} !^(.+).css$
    RewriteCond %{REQUEST_FILENAME} !^(.+).png$
    RewriteCond %{REQUEST_FILENAME} !^(.+).jpg$
    RewriteCond %{REQUEST_FILENAME} !^(.+).jpeg$
    RewriteCond %{REQUEST_FILENAME} !^(.+).gif$
    RewriteCond %{REQUEST_FILENAME} !^(.+).ico$
    RewriteCond %{REQUEST_FILENAME} !^(.+).eot$
    RewriteCond %{REQUEST_FILENAME} !^(.+).svg$
    RewriteCond %{REQUEST_FILENAME} !^(.+).ttf$
    RewriteCond %{REQUEST_FILENAME} !^(.+).woff$
    RewriteRule  .? index.php [L]
</IfModule>

# Prevent file browsing
Options -Indexes
Exit mobile version