s22su/transferwise-hackathon/master/.htaccess
Options -Indexes
ErrorDocument 404 404.html
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
#RewriteBase /panda2/transferwise-hackathon/
# RewriteCond %{HTTP_HOST} ^domainname.fr
# RewriteRule ^(.*)$ http://www.domainname.fr/$1 [R=permanent,L]
RewriteCond $1 !^(index.php|assets/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</IfModule>
SetOutputFilter DEFLATE
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType text/cache-manifest "access plus 0 seconds"
ExpiresByType text/html "access plus 0 seconds"
ExpiresByType image/x-icon "access plus 1 week"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
<IfModule mod_headers.c>
Header append Cache-Control "public"
</IfModule>
</IfModule>
AddDefaultCharset utf-8
AddCharset utf-8 .css .js
php_flag display_errors 1
On Github License
Files