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

Use a pre-made script nph-proxy

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

Replies are listed 'Best First'.
Re^2: Creating a Proxy Server Using HTTP::Proxy
by shanu_040 (Sexton) on Aug 10, 2010 at 09:40 UTC

    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.

      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