Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

redirect all visitors.



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

5+ Year Member

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)

5+ Year Member

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)

5+ Year Member

HTTP::Proxy at CPAN

Featured Threads

Hot Threads This Week

Hot Threads This Month