Comprehensive guide to .htaccess

http://www.javascriptkit.com/howto/htaccess2.shtml

Also: blocking users

http://www.javascriptkit.com/howto/htaccess14.shtml