View Single Post
Old 07-16-2004, 02:48 AM  
frank7799
Confirmed User
 
frank7799's Avatar
 
Industry Role:
Join Date: Jul 2003
Location: In the middle of nowhere...
Posts: 1,974
Quote:
Originally posted by newbreed
This is what's in it now...

# -FrontPage-

Options None

<Limit GET POST>
order deny,allow
deny from all
allow from all
require group authors administrators
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthType Basic

Where would I insert the ip I want to block, and in what format should I put it?

Thank you,
Bill

<Limit GET POST>
order deny,allow
deny from all
allow from all
require group authors administrators
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
allow from .domain.com 172.16.
</Limit>

But your code doesnīt block one IP adress, it blocks all and allows the specific domains and IPīs you mention in the allow derictive.

Itīs like mysh said, you have to put it the other way round.
frank7799 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote