|
|
 |
RE: FN-FORUM Banning IP using htaccess
date posted 9th January 2001 10:05
-----Original Message-----
> From: [EMAIL REMOVED]
> [EMAIL REMOVED] Behalf Of Kif
> Sent: 08 January 2001 19:22
> To: [EMAIL REMOVED]
> Subject: Re: FN-FORUM Banning IP using htaccess
>
>
> At the top of the .htaccess file add or edit the following directives
>
>
> order deny,allow
> deny from 24.80.17.5
> deny from 65.103.91.7
>
>
[SNIP]
> You
> can ban as many IP addresses as you need; each one must have its own "deny
> from" directive on a separate line. Anyone who tries to visit your website
> from an IP banned in your .htaccess file will receive a "403 Forbidden"
> error message.
You don't have to list each IP on its own line, a space seperated list would
also work i.e. deny from 1.2.3.4 1.2.3.5 1.2.3.6
etc.
Cheers,
Alex.
|
 |
|