This is a listing of the local Apache .htaccess file. It is provided in the event that someone may find it useful or interesting.
# Default home page
DirectoryIndex index.shtml index.html index.htm
# Redirect permanently deleted pages
Redirect gone /caving/ggentrances.kmz
Redirect gone /caving/ggentrances.kml
Redirect gone /matthews.shtml
Redirect gone /hebdenpo/index.htm
Redirect gone /software/hitcounter.shtml
Redirect gone /software/hotkeys.shtml
Redirect gone /software/openpopup.shtml
Redirect gone /software/robottrap.shtml
Redirect gone /formtest.cgi
Redirect gone /index.php
Redirect gone /software/index.php
Redirect gone /chartreuse/guestbook/antispam.shtml
# Redirect historical references
Redirect permanent /index.htm http://braemoor.co.uk/index.shtml
Redirect permanent /robotreport.shtml http://braemoor.co.uk/robotreport.php
Redirect permanent /cavingtrip/index.htm http://braemoor.co.uk/caving/index.shtml
Redirect permanent /cavingtrip/route16.htm http://braemoor.co.uk/caving/route16.shtml
Redirect permanent /cavingtrip/stile.shtml http://braemoor.co.uk/caving/stile2006.shtml
Redirect permanent /cavingtrip http://braemoor.co.uk/caving
Redirect permanent /miscellaneous/index.htm http://braemoor.co.uk/miscellaneous/index.shtml
Redirect permanent /miscellaneous/meerstones/index.htm http://braemoor.co.uk/miscellaneous/meerstones/index.shtml
Redirect permanent /chartreuse/index.htm http://braemoor.co.uk/chartreuse/index.shtml
Redirect permanent /software/passwords.shtml http://braemoor.co.uk/software/passwords.php
Redirect permanent /chartreuse/LAlpe http://braemoor.co.uk/chartreuse/lalpe
# Disallow browsing of directories
Options -Indexes
# File not found page
ErrorDocument 404 /error404.html
# Start of URL rewriting code
RewriteEngine on
# Hot linking disallowed in general
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g|png|zip)$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !braemoor\.co\.uk [NC]
RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !ukcaving\.com [NC]
RewriteCond %{HTTP_REFERER} !translate [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteRule (.*) /index.shtml [R,NC,L]
# End hotlinked images
# Deny access to sites who have repeatedly broken the robot rules (now automatically updated)
Order Allow,Deny
Allow from All
Deny from 173.227.230.236
Deny from 38.100.21.19
Deny from 109.123.117.146
Deny from 173.246.100.192
Deny from 173.225.17.50
Deny from 217.43.48.121
Deny from 204.11.219.80
Deny from 173.192.190.210
Deny from 46.151.157.43
Deny from 173.45.65.154
Deny from 159.253.145.175
Deny from 38.100.21.11
Deny from 118.127.167.3
Deny from 200.124.141.149
Deny from 190.219.56.76
Deny from 67.222.109.38
Deny from 176.74.192.85
Deny from 204.57.229.98
Deny from 204.11.219.71
Deny from 204.11.219.84
Deny from 65.99.250.80
Deny from 64.91.248.2
Deny from 74.208.70.39
Deny from 91.121.109.13
Deny from 75.127.70.16
Deny from 188.94.249.98
Deny from 91.121.181.147
Deny from 118.129.167.32
Deny from 50.97.208.82
Deny from 64.234.243.106
Deny from 38.100.21.23
Deny from 173.227.230.232
Deny from 207.189.121.45
Deny from 209.117.161.166
Deny from 89.149.223.62
Deny from 173.227.230.238
Deny from 207.189.121.46
Deny from 217.23.14.85
Deny from 38.100.21.14
Deny from 112.2.255.7
Deny from 88.198.9.123
Deny from 184.107.163.218
Deny from 139.18.2.209
Deny from 204.140.22.62
Deny from 50.112.26.95
Deny from 217.46.222.57
Deny from 80.80.154.70
Deny from 173.254.216.67
Deny from 222.186.26.41
Deny from 82.192.66.250
Deny from 173.254.216.69