Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: can you ban site access by domain or URL?

  • Subject: Re: can you ban site access by domain or URL?
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Mon, 22 Aug 2005 16:34:00 +0100
  • Newsgroups: alt.www.webmaster
  • Organization: schestowitz.com / Manchester University
  • References: <1124702452.870216.77270@z14g2000cwz.googlegroups.com> <1tdt43l7bcbi5$.dlg@locusmeus.com>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
On Monday 22 August 2005 10:32, Els wrote:

> richards1052@xxxxxxxxxxx wrote:
> 
>> My blog is plagued periodically by floods of abusive comments
>> originating at various forum sites. I know you can deny site access by
>> IP address. But why can't you deny by domain or URL or can you?
>> 
>> Periodically my site is linked in anti-Semitic forums and I get abusive
>> comments coming fr specific threads at the site. I'd like to be able to
>> ban anyone from commenting (or visiting?) who comes to my site from a
>> specific url or domain. Let's say my commenter is coming to my post
>> from www.exampleforum.com/discussions/thread.php?t=331697
>> I'd like to either be able to ban someone fr. that specific URL or else
>> from the exampleforum.com domain.
> 
> You could deny access to visitors who show such referer, but you can't
> grant them access and /then/ ban them from commenting, as when they
> click the 'add comment' link, the referer will have changed.
>  
> And you can't stop those who don't show a referrer, or who copy and
> paste the URL to your site instead of clicking it in the forum.


Yes, but let's now forget that users are often lazy or will fail to
understand the criterion according to which they get denied.


>> I don't know the technical issues involved in this & perhaps it's not
>> feasible. But it would sure work wonders for me in preventing blog
>> assaults.
>> 
>> To be clear, I don't mean that I want to ban commenters who use a
>> specific domain or url in their comment ID info. I want to somehow
>> connect the URL or domain they CAME FROM to preventing a visit or
>> comment.
>> 
>> To those who may suggest using blog comment moderation for this
>> purpose, my settings are currently not working & I can't use them in
>> this way (it's a long story).


You can perhaps arrange for an E-mail to be sent to you whenever a comment
gets posted so that abusive ones get purged more quickly.


>> I don't think you can do this w. cPanelx. I know you can deny access by
>> IP. But I don't believe you can deny access by domain...or can you?
> 
> By referer, yes.
> 
> Through CPanel, File Manager, edit your .htaccess file to include a
> line like this:
> 
> RewriteEngine On
> RewriteCond %{HTTP_REFERER} forum-to-be-banned [NC]
> RewriteRule ^(.*) http://your-domain/page-to-say-take-a-hike [R=301,L]


Or better, if justified, re-direct to:

http://www.exampleforum.com/stop_sending_foes

Roy

-- 
Roy S. Schestowitz        Useless fact: There are five regular polyhedra
http://Schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index