2012-04-11 12:04:41 +02:00
|
|
|
---
|
|
|
|
is_hidden: true
|
|
|
|
non_cognitive: true
|
|
|
|
---
|
|
|
|
|
2011-09-05 19:05:40 +02:00
|
|
|
# manual 404 page
|
|
|
|
ErrorDocument 404 /404/index.html
|
|
|
|
|
2012-02-04 21:17:48 +01:00
|
|
|
# rewrite stuff
|
2011-09-05 19:05:40 +02:00
|
|
|
RewriteEngine on
|
2012-02-04 21:17:48 +01:00
|
|
|
|
|
|
|
# don't alienate people who use the old feed
|
2011-09-05 19:05:40 +02:00
|
|
|
RewriteRule ^feed/? /rss.xml
|
2012-02-04 21:17:48 +01:00
|
|
|
|
2012-04-11 12:04:41 +02:00
|
|
|
<% unless main_site? %>
|
|
|
|
# store pigs in central site
|
|
|
|
RewriteRule ^pigs/(.+)$ http://muflax.com/pigs/$1 [L]
|
|
|
|
<% end %>
|
|
|
|
|
2012-02-04 21:17:48 +01:00
|
|
|
# serve gzipped files if available
|
|
|
|
RewriteCond %{HTTP:Accept-Encoding} gzip
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !\.gz$
|
|
|
|
RewriteCond %{REQUEST_FILENAME}.gz -f
|
|
|
|
RewriteRule ^(.*)$ $1.gz [L]
|