multiple-states/bread-butter/master/src/pages/.htaccess - Htaccess File

multiple-states/bread-butter/master/src/pages/.htaccess

RewriteEngine on

# Allow links to work without .php file extensions
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php

# Allow cross-domain font requests
# SRC - http://davidwalsh.name/cdn-fonts

# Apache config
<FilesMatch ".(eot|ttf|otf|woff)">
  Header set Access-Control-Allow-Origin "*"
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache