homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

redirect all visitors.

 6:16 pm on May 18, 2009 (gmt 0)

hello gurus.. i would like to ask about redirecting all accessing PCs to my server..

PC1 to PC3 is accessing internet passing through newbie server (also a webserver) which has an IP address of ... now my problem is how to capture or redirect to when user type www.google.com or any address using perl script..? anybody have an idea?

looking forward for the answer... and advance thanks.. :)


[edited by: phranque at 7:33 pm (utc) on May 18, 2009]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]



 7:18 pm on May 18, 2009 (gmt 0)

revised question:

ok.. let me rephrase my question...

as illustrated in the given image link...

PC1, PC2 and PC3 are accessing the internet through "newbie server"... before the request of PC1 to PC3, it must be interrupted by perl script and perl script redirect the request to (which is the "newbie server" IP address.)


PC1 browse to www.facebook.com --- before it reach out to facebook.com, "newbie server" halt the request.. instead PC1 will view facebook.com, he/she will view the "newbie server" web pages (

**note: "newbie server" is also a webserver


 12:18 pm on May 19, 2009 (gmt 0)

HTTP::Proxy at CPAN

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved