Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

IP blocking script

ip blocking


steven mheakyle

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

10+ Year Member

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 Jul 17, 2004 (gmt 0)

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


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.


steven mheakyle

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

10+ Year Member

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 Jul 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

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...]

steven mheakyle

1:25 am on Jul 19, 2004 (gmt 0)

10+ Year Member

thank you

Featured Threads

Hot Threads This Week

Hot Threads This Month