i’ve been getting files leeched by dizzler.com, and found a way to block their spider and others by editing .htaccess:
i tried using the bad_bot environment variable, and also tried just using dizzler’s IP directly, but both created 500 errors on all pages in subdirectories of my .htaccess file. it think it’s because i’m not correctly specifying paths in my Directory directives.
i wrote this:
Allow from all
Deny from 220.127.116.11
and put that in an .htaccess file in the parent directory of mymusicdirectory. i tried the same with the environment variable method as well; both cause 500s. can someone please clarify how to specify paths in this context? the directory i put this .htaccess file in is /mysite.com/.
my ftp client (Transmit) doesn’t display paths above the parent of mysite.com, so i’m not sure if i’m missing something like /home/users/ or anything.
in case you hadn’t noticed, i’m a noob with server config stuff, so please go easy