Getting started with HTTP::Proxy

A

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!)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top