[mythtv-users] Google ate my recordings

Chris Moewes-Bystrom chris.moewes at gmail.com
Wed Oct 25 01:32:47 UTC 2006


I agree that the most effective way to deal with this is to use
passwords, but if you can't do that, you can always add the following
to your .htaccess file right after the RewriteEngine on command. This
will cause the web server to serve a forbidden (403) to all requests
made by anything with a user agent with Googlebot in it.

RewriteCond %{HTTP_USER_AGENT}  Googlebot       [NC]
RewriteRule ^(.+)$ / [F]


You can extend it by doing this

RewriteCond %{HTTP_USER_AGENT}  (Googlebot|Lycos|msnbot)       [NC]

with a pipe '|' between each keyword.


-- 
Christopher Moewes-Bystrom
www.moewes.com
chris.moewes at gmail.com


More information about the mythtv-users mailing list