| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|IP blocking script|
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.
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.
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
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...]
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved