Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (66 sloc) 3.55 KB
FileETag None
AddDefaultCharset utf-8
AddCharset utf-8 .html .css .js .xml .json .rss
AddType video/ogg ogg ogv
AddType video/mp4 mp4
AddType video/webm webm
AddType image/svg+xml svg svgz
AddType application/vnd.ms-fontobject eot
AddType font/ttf ttf
AddType font/otf otf
AddType font/x-woff woff
AddType text/cache-manifest manifest
AddHandler php5-script .php
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
BrowserMatch MSIE ie
Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
</IfModule>
</IfModule>
<FilesMatch "\.(ttf|otf|eot|woff|font.css)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript application/javascript application/json
<FilesMatch "\.(ttf|otf|eot|svg)$" >
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
<IfModule mod_expires.c>
Header set cache-control: public
ExpiresActive on
ExpiresDefault "access plus 1 month"
ExpiresByType text/cache-manifest "access plus 0 seconds"
ExpiresByType text/html "access"
ExpiresByType application/rss+xml "access plus 1 hour"
ExpiresByType image/vnd.microsoft.icon "access plus 1 week"
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 font/ttf "access plus 1 month"
ExpiresByType font/woff "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^flickrshow.co.uk [NC,OR]
RewriteCond %{HTTP_HOST} ^www.flickrshow.co.uk [NC,OR]
RewriteCond %{HTTP_HOST} ^flickrshow.net [NC,OR]
RewriteCond %{HTTP_HOST} ^www.flickrshow.net [NC,OR]
RewriteCond %{HTTP_HOST} ^v6.flickrshow.com [NC,OR]
RewriteCond %{HTTP_HOST} ^v7.flickrshow.com [NC,OR]
RewriteCond %{HTTP_HOST} ^api.flickrshow.com [NC,OR]
RewriteCond %{HTTP_HOST} ^flickrshow.com [NC]
RewriteRule ^(.*)$ http://www.flickrshow.com/$1 [R=301,L]
RewriteRule ^v6/(.*)$ http://www.flickrshow.com/static/scripts/flickrshow-7.2.min.js [R=301,L]
RewriteRule ^v7/(.*)$ http://www.flickrshow.com/static/scripts/flickrshow-7.2.min.js [R=301,L]
</IfModule>