RewriteEngine on AuthGroupFile /dev/null AuthName "Member Only" AuthType Basic AuthUserFile /home/techcuri/domains/techcuriosity.com/.htpasswd/public_html/forum/.htpasswd RewriteCond %{HTTP_REFERER} !^http://forum.techcuriosity.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://forum.techcuriosity.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://techcuriosity.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://techcuriosity.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.forum.techcuriosity.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.forum.techcuriosity.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.techcuriosity.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.techcuriosity.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] RewriteCond %{HTTP_HOST} ^forum.techcuriosity\.com$ [NC] RewriteRule ^(.*) http://www.forum.techcuriosity.com/$1 [R=301,L]