[Ilugc] setup Apache to redirect the fopen requests to proxy

  • From: apsivam@xxxxxxxxx (Sivanandhan, P.)
  • Date: Wed Sep 8 13:47:40 2010

On Wed, Sep 8, 2010 at 12:55 PM, Shrinivasan T <tshrinivasan@xxxxxxxxx> wrote:

Friends.

My friend, a php developer is working inside a proxy environment.

He is customizing an existing php application.
It uses a lot of fopen functions to get content from some external websites.

Because, his apache is inside a proxy, it can not fetch the contents.
He is tired of rewriting the entire code from fopen to use cURL.

Is there any way to tell the apache server to use the proxy server's auth
credentials when it fetch the data from external sites?


Ask him to try setting up http_proxy environment variable on the
machine running Apache.

Thanks.
--
Regards,
T.Shrinivasan


-- 
Regards,
Sivanandhan, P.

Other related posts: