in reply to Re: Creating a Proxy Server Using HTTP::Proxy
in thread Creating a Proxy Server Using HTTP::Proxy

That's exactly I am looking at but CGIProxy uses a HTML form to take the input site. But If I look at HTTP::Proxy it uses HTTP::Daemon(Header Buffer) to get input site.

Let say I want to access http://ieeexplore.ieee.org. If I put http://192.168.100.11:2020/ on browser's address bar it should open desired sitehttp://ieeexplore.ieee.org.

Could you please guide me further.

  • Comment on Re^2: Creating a Proxy Server Using HTTP::Proxy

Replies are listed 'Best First'.
Re^3: Creating a Proxy Server Using HTTP::Proxy
by marto (Cardinal) on Aug 10, 2010 at 09:52 UTC

    So, it does 'exactly' what you're looking for, except it doesn't? Again, have you looked at the source code to see if you can simply change how it works or read the documentation?

    "Let say I want to access http://ieeexplore.ieee.org. If I put http://192.168.100.11:2020/ on browser's address bar it should open desired sitehttp://ieeexplore.ieee.org."

    This makes no sense, how would the entering just the proxy url in the address bar open any other URL? Are you looking code that can read minds? This doesn't match your initial requirement where a url is passed as a parameter.

      "This makes no sense, how would the entering just the proxy url in the address bar open any other URL? Are you looking code that can read minds? This doesn't match your initial requirement where a url is passed as a parameter."

      There is something called aliasing. And I am trying to create a local alias for a remote site. Look at the ezporxy and If you have not seen it yet please just see it once.

      Please provide some direction if you can

        "There is something called aliasing. And I am trying to create a local alias for a remote site."

        So this is different from your first requirement where you specify a url in the browsers address bar. I understand the concept behind what you want, however I don't think it exists as a single script or module, you're either going to have to take the advice given so far in this thread, do some research and work with the code already mentioned, or if you don't want to do that just pay for exproxy since that seems to be what you are trying to emulate.