• We should now be fully online following an overnight outage. Apologies for any inconvenience, we do not expect there to be any further issues.

editing .htaccess???

halcali

Junior Member
May 3, 2003
4
0
0
my website was banned by google i think because somebody is mirroring it and that violates their rules...

how do i keep someone from mirroring my site...

here is the offending page http://pack.soksok.jp/y/.bcu3/index.html

from what i can tell my current site is somehow being served through their url (i.e. my site is not on their server, somehow they are just accessing my pages from my host)... i have no idea why or exactly how they are doing it but i am trying to figure out how to block it

i edited my .htaccess files like so... but i none of the following worked. any ideas of how to block this domain name from serving my pages???


SetEnvIfNoCase Referer "^http://pack.soksok.jp/y/.bcu3/" BadReferrer
order deny,allow
deny from env=BadReferrer


SetEnvIfNoCase Referer "^http://pack.soksok.jp/" BadReferrer
order deny,allow
deny from env=BadReferrer



SetEnvIfNoCase Referer "^http://pack.soksok.jp" BadReferrer
order deny,allow
deny from env=BadReferrer

setenvifnocase Referer "^http://pack.soksok.jp/y/.bcu3" spam_ref=1
<FilesMatch "(.*)">
Order Allow,Deny
Allow from all
Deny from env=spam_ref
</FilesMatch>

setenvifnocase Referer "^http://pack.soksok.jp" spam_ref=1
<FilesMatch "(.*)">
Order Allow,Deny
Allow from all
Deny from env=spam_ref
</FilesMatch>

This is not a HIGHLY TECHNICAL issue.

AnandTech Moderator