rodrigorm/Metrics/master/public/.htaccess - Htaccess File

rodrigorm/Metrics/master/public/.htaccess

RewriteEngine on

RewriteBase /

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php

<FilesMatch ".(ttf|otf|woff)$">
    <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
    </IfModule>
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache