A domain has created a link to a website. To not have too much bandwidth used We’d like to disallow the access to our site from this domaine.
To do this we have created this rule in a .htaccess file
RewriteEngine on
RewriteCond %{REMOTE_REFERER} ^http://www.ehrensenf.de/.$ [NC]
RewriteRule .http://www.cinemannecy.fr/erreur404.htm [R,L]
Basicly it routes the request from the remote_referer to an error page.
But it doesn’t work
We’ve also tried something like
<LIMIT GET POST>
order allow, deny
allow from all
deny from ehrensenf.de
</LIMIT>
But it also doesn’t work (if I go on this site and click on the link linked to our site, our page is shown as normal)
Do you see an error in my rewrite rule ?
Do you have a better idea on how disallow the access from a specific domain that use a link to our site ?
Ok, I understand what you are trying to do now. Doing a little googling I think I found something that might work. Try it an let me know, I’m interested on if this works.
[QUOTE=Justec;9504]Ok, I understand what you are trying to do now. Doing a little googling I think I found something that might work. Try it an let me know, I’m interested on if this works.
Vous pouvez avoir cette erreur pour plusieurs raisons
Mod Security
C’est la raison principale qui peut causer cette erreur. Si tel est le cas cela veut dire que votre requ?te a ?t? bloqu?e par l’une de nos r?gles mod_security. En effet nous prot?geons nos serveurs et donc nos clients contre les hacks/exploits/spam les plus connus
Usage excessif:
Cela veut dire que vous avez certainement ?t? marqu? comme ?tant un utilisateur qui “abuse”. Cela arrive lorsque vous avez ouvert trop de page web en un laps de temps minimum. En effet, nous protegeons nos serveurs et donc nos clients des tentatives d’attaques DoS and DDoS.