1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-06-29 10:36:48 +02:00
muflax65ngodyewp.onion/content/htaccess.erb

25 lines
509 B
Plaintext
Raw Normal View History

---
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
<% 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]