# inamidst.com .htaccess
# Author: Sean B. Palmer
AddDefaultCharset utf-8
AddType text/plain .py
AddType text/plain .sh
AddType application/rdf+xml .rdf
# AddType application/n3 .n3
AddType text/n3 .n3
AddCharset utf-8 .n3
AddType text/turtle .nt
AddCharset utf-8 .nt
AddType application/x-xpinstall .xpi
AddType application/atom+xml .atom
DirectoryIndex index.html index.txt index.cgi /list.cgi
ErrorDocument 404 /bin/404.cgi
ErrorDocument 500 /bin/500.cgi
# mod_gzip_item_include file \.rdf$
RedirectMatch permanent ^/alp(.*) /lights$1
RedirectMatch permanent ^/grddl/(.*) /proj/grddl/$1
RedirectMatch permanent ^/nftp(.*)$ /proj/nftp$1
RedirectMatch permanent ^/polish/pluvo$ /pluvo/index.pl
RedirectMatch permanent ^/svc/(.*) /services/$1
RedirectMatch permanent ^/tgz(.+)/$ $1.tar.gz/
RedirectMatch permanent ^/unrddl(.*)$ /proj/unrddl$1
RedirectMatch permanent ^/wisp/archives$ /lights/wisp/archives
RewriteEngine on
RewriteRule \.tar\.(gz|bz2)/$ bin/arcview.cgi [L]
# Serve .htaccess files
# @@ Any security risk?
allow from all
# Stop spam
order deny,allow
deny from 85.96.157.30
# @@ This is now server-wide on manxome and athena
# MultiviewsMatch Any
RewriteCond %{HTTP_HOST} ^www\.inamidst\.com
RewriteRule (.*) http://inamidst.com/$1 [R=301,L]
#
# Header add X-XRDS-Location "http://sbp.myopenid.com/xrds"
#
# [EOF]