Hey Naughty or any htaccess guru
I need the htaccess code to do this... say I have 3 sites A, B , C In order to get to site C you have to either come from site A, or site B. I don't wont some to be able to type site C in directly and be able to get there. I have searched the board I know I have seen the code posted some were.
Gman.357 sent me this code. It does the job far as only letting the two other sites in only. But it wont all me to see the images just the html.
Here was the could I used that let the two sites in bit cant view any pics.
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^
http://www.site-a.com/.* [NC]
RewriteCond %{HTTP_REFERER} !^
http://www.site-b.com/.* [NC]
RewriteCond %{HTTP_REFERER} !^
http://www.site-c.com/.* [NC]
RewriteRule /*
http://www.yoursite.com/error.html [R,L]
Anyone know why this code doesn't allow me to see any pics?