Welcome to WebmasterWorld Guest from 54.147.10.12

Forum Moderators: open

Message Too Old, No Replies

IP blocking script

ip blocking

     
2:31 am on Jul 17, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 6, 2004
posts:63
votes: 0


i would like to know if there is a free simple script that blocks certain IP address (IP range or single IP)from your site and redirects the user to a different page.
3:02 am on July 17, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


Steven,

There are quite a few here [google.com].

You can refine that, depending on what kind of server you're hosted on, and what technologies you're comfortable with.

Jim

6:20 pm on July 18, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 6, 2004
posts:63
votes: 0


follow up...

i try to search [google.com...]

all i see is howto block... no more info about the redirection part...

what i realy want is : to block user(s) (IP range or IP single) access to my pages and automaticaly redirect them to another website or page.

if IP "A" is listed in my badlist when he will access foo.com it will redirect to google.com or foo.com/page.php

thank you

11:39 pm on July 18, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 22, 2001
posts:2450
votes: 0


You might want to try asking your question in the Apache forum, since the main method of doing redirects of this type is by using Apache's mod_rewrite module. [webmasterworld.com...]
1:25 am on July 19, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 6, 2004
posts:63
votes: 0


thank you