Hi, for a new product I need to fetch external sites, so the user does not known where it comes from e.g.:
http://www.myserver.com/page.htm

is translated to

http://www.anotherserver.com/somedir/page.htm

The webserver we use is Apache, and I know there is a mod_proxy which can do this for me. However, we are unable to install this module, so we need to look for another way, perhaps Perl?

Is there a module in Perl which implements a proxy? I could write one myself, but that would take my weeks to complete. It has to support GET/POST etc. etc., for the external website can use forms.

Any ideas? TIA

In reply to Perl proxy by Marcello

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.