bhavitk/micro-struct-app/master/.htaccess - Htaccess File

bhavitk/micro-struct-app/master/.htaccess

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [QSA,L] 

AddType text/x-component .htc

<Files "index.php">
    AcceptPathInfo On
</Files> 
<IfModule mod_headers.c>
  <FilesMatch ".(ttf|ttc|otf|eot|woff|font.css)$">
    Header set Access-Control-Allow-Origin "*"
  </FilesMatch>
</IfModule>

# Webfonts
AddType application/vnd.ms-fontobject  eot
AddType application/x-font-ttf         ttf ttc
AddType font/opentype                  otf
AddType application/x-font-woff        woff

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache