mosinski/skritter-html5/master/build/web/.htaccess - Htaccess File

mosinski/skritter-html5/master/build/web/.htaccess

<IfModule mod_expires.c>
    ExpiresActive On
    <FilesMatch ".(appcache)$">    
        ExpiresDefault "access plus 1 second"
    </FilesMatch>
    <FilesMatch ".(css|html|js|json)$">    
        ExpiresDefault "access plus 1 second"
    </FilesMatch>
    <FilesMatch ".(eot|ico|otf|png|svg|ttf|woff)$">
        ExpiresDefault "access plus 1 month"
    </FilesMatch>
</IfModule>

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

<ifModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !index
    RewriteRule (.*) index.html [L]
</ifModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache