Click to See Complete Forum and Search --> : Apache behind MS proxy
wittysaint
03-08-2002, 04:38 AM
Hi,
I have a php program thats accessed in te LAN from the local Apache server.but the php program also needs to send requets to the web thru a MS proxy.how shd i configure apache so that all external reqs are fwded to the proxy?.
plz advice.
TIA,
cor
Counterstrike
03-09-2002, 12:15 AM
I'm going to take a wild guess at what you typed and assume you have a web server running behind a proxy, to which people on the "outside" connect to.
If this is the case, simply forward port 80 and 8080 (for https, if necessary) to the LAN IP of the server.
wittysaint
03-11-2002, 01:39 AM
Hi,
actually its the other way round!.ppl in the lan access apache server and this has a php script that sends a request a site in the net ,retrievs the result and displays it.the problem is apache is not able to 'divert' requests to extrenal sites thru' the MS proxy.am able to browse the net from the m/c in which apache in installed(by giving the ip addr of proxy in proxy field in browser).the default route is configured to got thru this proxy('route add default gw <ip of proxy> eth0').
another problem(man, `twas a bad weekend :( ).
whenever i try to access ftp it just says 'connected to <name>'.but this pbm goes away when i just remove resolv.conf.
any pointers?.
tia,
cor
[ 11 March 2002: Message edited by: wittysaint ]