[ic] how to block a customer

Jon prtyof5 at attglobal.net
Mon May 31 16:40:15 EDT 2004


> In your web directory create a file called .htaccess and put this
> in it:
>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{REMOTE_ADDR} ^66\.666\.66\.666$ [OR]
> RewriteCond %{REMOTE_ADDR} ^55\.555\.55\.555$
> RewriteRule ^.* - [F]
>
> Where the 66..... and 55... are different IPs you want to block.
> You can also use regular expressions to block patterns of IPs.
> Search the net for .htaccess rewrites for more info. This should
> block them from your whole site.
>
> You can also do the above in virtual host configs in your
> httpd.conf (if so remove the RewriteBase line).
>
> Best,
> Bryan
>
> On Sun, 30 May 2004, steve wrote:
>
> > Hello,
> >
> >    I'm receiving many fraudulant orders from a specific ip address.  Is
> > there an easy way to block this person from using the checkout page?  I do
> > not use online credit card processing.
> >
>

  Assuming apache wouldn't putting this in the bottom of .htaccess work ??

deny from 63.195.9.2


Jon





More information about the interchange-users mailing list