Re: Web server request redirection

From: Date: Thu, 27 Mar 2003 09:30:08 +0000
Subject: Re: Web server request redirection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141194@lists.php.net to get a copy of this message
On Thu, 27 Mar 2003 00:10:34 +0100, you wrote: >Ray Hunter wrote: >They are two: >1/ php+apache/linux webserver (reachable from outside) >2/ iis/w2k running web service (behind firewall) > > > You can also create scripts that receive post data and then submit that > > data to another server via php or other scripting language. > >Yeah, that's what I was asking for: how? >I can simply catch the outer request via $HTTP_RAW_POST_DATA but don't >know, how most effeciently process the result coming from windows machine. I would suggest configuring Apache as an HTTP proxy, rather than trying to redirect requests with PHP scripts. More details here http://www.devshed.com/Server_Side/Administration/ApacheProxy/page1.html With some forethought, you can probably use this to protect your IIS machine from malicious requests, too.

« previous php.general (#141194) next »