I'm not sure what your question is, because your one-line questions don't let out much information. So I will guess at what you possibly mean:
Maybe your wanted the answer to the question
What is the simplest Perl script to request a page from an Apache webserver through a proxy?
This question is still answered by my response to your first question.
Maybe your wanted the answer to the question
What is the simplest Perl script to request a page from http://www.apache.org/ through a proxy?
This question is still answered by my first answer to your post.
Since I don't want to assume that you post your questions without any goal, maybe the following question is the question you really wanted an answer for:
What is a simple Perl script that I can run as a CGI from within Apache which will request a page from another webserver through a proxy?
For that question, you should look at how HTTP::Proxy does it, and it is not really simple. Most of the meat will be done through CGI.pm for the page and LWP::UserAgent or LWP::Simple to fire off the request.
If, what I think is most likely, none of these answers are the answers to your real question that you mean but did not write, then please do read How (Not) To Ask A Question and then post your real question, together with the code you already have.
|