mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-06-29 10:36:48 +02:00
15 lines
346 B
Plaintext
15 lines
346 B
Plaintext
# manual 404 page
|
|
ErrorDocument 404 /404/index.html
|
|
|
|
# rewrite stuff
|
|
RewriteEngine on
|
|
|
|
# don't alienate people who use the old feed
|
|
RewriteRule ^feed/? /rss.xml
|
|
|
|
# serve gzipped files if available
|
|
RewriteCond %{HTTP:Accept-Encoding} gzip
|
|
RewriteCond %{REQUEST_FILENAME} !\.gz$
|
|
RewriteCond %{REQUEST_FILENAME}.gz -f
|
|
RewriteRule ^(.*)$ $1.gz [L]
|