Forum Moderators: DixonJones

Message Too Old, No Replies

Block all but certain IP addresses

only 2 IP addresses allowed

         

wclay

6:48 pm on Mar 4, 2004 (gmt 0)

10+ Year Member



I need to know how to block all IPs except 2:
128.X11.60.24
12.X30.38.101

can you help me with the syntax?
this will work on an .htaccess file?

[edited by: DaveAtIFG at 12:19 am (utc) on Mar. 5, 2004]
[edit reason] Obscured IPs [/edit]

volatilegx

7:10 pm on Mar 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<files *>
order deny,allow
deny from all
allow from 128.X11.60.24
allow from 12.X30.38.101
</files>

[edited by: DaveAtIFG at 12:18 am (utc) on Mar. 5, 2004]
[edit reason] Obscured IPs [/edit]

wclay

7:19 pm on Mar 4, 2004 (gmt 0)

10+ Year Member



Do I need to have this syntax in the
<Limit GET></Limit> tag? i.e.

<Limit GET>

<files *>
order deny,allow
deny from all
allow from 128.11.60.24
allow from 12.30.38.101
</files>

</Limit>