iLogan
14-12-2009, 07:09 PM
Hi, basicly I need help with .htaccess
Say I wanted to block a referrer the code would be
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)sitename/(-|.).*$ [NC,OR]
Right, so say I need to block the person's IP if they come from a blocked referrer, does anyone know the code for that?
Thanks
Remel
Say I wanted to block a referrer the code would be
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)sitename/(-|.).*$ [NC,OR]
Right, so say I need to block the person's IP if they come from a blocked referrer, does anyone know the code for that?
Thanks
Remel