Web server request redirection
| From: | Jan Walter | Date: | Wed, 26 Mar 2003 17:09:33 +0000 |
| Subject: | Web server request redirection | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-141086@lists.php.net to get a copy of this message | ||
Hi,
I have written a small webservice in M$ VS.NET (for some "political" reasons), which needs IIS to run.
I would like not to open M$ IIS server for outer requests, but enable access just through linux/apache(/php) webserver instead.
Is there any simple way, how to resend (at least POST/GET) requests in their original form to another webserver behind firewall a send its answer back?
I tried fsockopen which gets the result OK. However this approach would, as I suppose, demand to parse answers from the server for Content-Type, etc. Is there anything more simple?
Thanx for any hint
John