tunneling apache with proxy

hi
im not sure if this site is the correct place to post this question, but the proplem is related to apache, so i hope some one can help here.

at work i have a WinXP with apache 1.3.29.
the proplem is: we have to use proxy to access the internet: proxy1.company.com 8080 (it not a transparent proxy tunneling apache with proxy)
i have a proplem when i program a PHP script that access internet resource, for example:

PHP Code:
<?
    $page 
= @join("",file("http://www.cnn.com"));
    echo 
$page;
?>
this wont work, coz apache (or php) is trying to access that page without using the company proxy..

i know that i can modify the code and makeit use proxy, but i was looking for a way to tunnel all apache outside request to use proxy (will mod_proxy do such a thing?)


thanks.

 

 

 

 

Top