develooper Front page | perl.beginners | Postings from February 2002

Seeking HTTP module

Thread Next
Chuck Tomasi
February 27, 2002 14:03
Seeking HTTP module
Message ID:
I suspect there is something out there to do what I need, but I'm not
quite sure what to look for.  I was hoping this would be a more efficient
way of asking...

Setup: Apache 1.3.x, Perl 5.6.0, Sun Solaris 2.7.

I need to write a CGI program that makes an HTTP connection (port 80) and
does a GET from a remote server.

My particular case is to call a Perl CGI on server A that does a GET
(calls a CGI) on server B so that it looks like server A has the data.  In
reality, the first CGI is embedded in a server side include (SSI) so it
can't make the call to server B's CGI directly.  I've got a buddy who has
done this in PHP, and I know it can be done in Perl.

HTML Doc --> call local CGI --> HTTP GET --> remote CGI runs

output appears as inline text in original HTML document.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About