Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

procmail + change subject, w2ksp4.exe download, /proc/kallsyms format, sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header

Links

XODOX
Impressum

#1: Getting started with HTTP::Proxy

Posted on 2008-04-10 22:11:58 by arvinporthog

Hi. I don't know anything about proxies or networking yet I've been
tasked with protecting some content on a media server and I'm guessing
a proxy is the way to go. I'm playing around with HTTP::Proxy just to
get a feel for things. All of the examples and discussions seem geared
to a proxy which sits on a user's computer while what I want is to put
the proxy on an intermediate server between the user and the media
server. So just to test I set up a bare bones HTTP::Proxy script on
one of our web servers. It runs and I can connect to it but I don't
know where to start trying to get it to do more:


use strict;
use warnings;
use HTTP::Proxy;

my $proxy = new HTTP::Proxy (port => 8100, host => undef);
$proxy->start;


When I connect http://www.myserver.edu:8100 I get the message:
"Scheme is not supported by this proxy."

How can I do something simple like pipe the google homepage to my
browser (not redirect!)?

Report this message