Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 47748 invoked from network); 23 Jun 2005 11:48:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jun 2005 11:48:51 -0000 Received: (qmail 10226 invoked by uid 500); 23 Jun 2005 11:48:39 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 10217 invoked by uid 500); 23 Jun 2005 11:48:39 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 10200 invoked by uid 99); 23 Jun 2005 11:48:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 04:48:38 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.109.240.235] (HELO ns0b.swx.com) (146.109.240.235) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 04:48:39 -0700 Received: from gate0b.unix.swx.ch (gate0b [192.168.252.145]) by ns0b.swx.com (8.12.10/8.12.10) with ESMTP id j5NBmXg6004937 for ; Thu, 23 Jun 2005 13:48:33 +0200 (MEST) Received: from CIWMEXZSA0E.ex.ordersx.org (localhost [127.0.0.1]) by gate0b.unix.swx.ch (8.12.10/8.12.10) with ESMTP id j5NBmVHE010276 for ; Thu, 23 Jun 2005 13:48:33 +0200 (MEST) Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Date: Thu, 23 Jun 2005 13:48:31 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Windows, Apache and an ASP Module thread-index: AcV2ZY2jxb9OPoKnTryEg72T3ihuRAACTxWAACISCuAAOy+E0AABCC0g From: "Boyle Owen" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Windows, Apache and an ASP Module X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Arthur Guy [mailto:arthur@astarsolutions.co.uk] > Sent: Donnerstag, 23. Juni 2005 13:30 > To: users@httpd.apache.org > Subject: RE: [users@httpd] Windows, Apache and an ASP Module >=20 >=20 > I really need to build the entire website again in php but I=20 > don't have the > time, any additions can be in php and I will slowly migrate=20 > the site over. Probably the wisest course.. >=20 > I installed the proxy and proxy httm module in apache and set it up to > forward requests, this seems to work well although I imagine=20 > it is fording > all the requests.=20 Check in the logs to see... > Is there anyway to define the directory where the site is stored as a > virtual host and only get it to proxy asp pages back? Set up apache and IIS with the same docroot. Apache is listening to the = internet address and IIS is listening only on an internal IP (eg = 192.168.1.1). So only apache can request from IIS. Now in apache do something like: DocumentRoot /home/site/html ProxyPass / http://192.168.1.1/ So if you get a request http://internet-ip/foo/bar.html, it will be = served by apache from /home/site/html/foo/bar.html. If you get a request for http://internet-ip/foo/wibble.asp, it will be = proxied internally and apache will request = http://192.168.1.1/foo/wibble.asp (ie, from IIS) and pass the response = back to the client. Depending on how compilcated your setup is, you might find it worth = moving it all to mod_rewrite (in proxy mode), eg. RewriteRule (.*\.asp) http://192.168.1.1/$1 [P] which does the same thing in one line. Check out the docs for these directives for details and post back if = there's anything that's not clear. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored.=20 >=20 > Thanks > Arthur > =20 > arthur@astarsolutions.co.uk >=20 > > -----Original Message----- > > From: Arthur Guy [mailto:arthur@astarsolutions.co.uk] > > Sent: Dienstag, 21. Juni 2005 16:42 > > To: users@httpd.apache.org > > Subject: RE: [users@httpd] Windows, Apache and an ASP Module > >=20 > >=20 >=20 > > I guess I will have to stick to IIS or as Owen Boyle=20 > suggested forward > > requests from apache to IIS. >=20 > >It depends on what your motivation is for migrating. If it's=20 > because you > >want want to take advantage of apache's stabilty and robustness, then > >using apache as a frontend and proxying any ASP requests to=20 > an internal > I>IS server probably a good solution. The IIS server will be=20 > behind the > >apache server and so will never see the direct requests from=20 > the internet > >and so will be insulated from all those IIS exploits. It=20 > also won't have to > >spend time delivering GIFs and static content and will be able to > >concentrate just on the ASPs. >=20 > >Rgds, > >Owen Boyle > >Disclaimer: Any disclaimer attached to this message may be ignored.=20 >=20 >=20 >=20 >=20 >=20 >=20 > 'a star solutions' disclaimer > The information transmitted is intended only for the person=20 > or entity to which it is addressed and may contain=20 > confidential and/or privileged material.=20 > If you are not the intended recipient of this message you are=20 > hereby notified that any use, review, retransmission,=20 > dissemination, distribution, reproduction or any action taken=20 > in reliance upon this message is prohibited. > If you received this in error, please contact the sender and=20 > delete the material from any computer.=20 > Any views expressed in this message are those of the=20 > individual sender and may not necessarily reflect the views=20 > of the company. > We believe that this communication is free from viruses and=20 > other potentially dangerous programmes, but the recipient=20 > opens this communication at their own risk.=20 > We assume no responsibility for any loss or damage arising=20 > from the receipt or use of this communication >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP=20 > Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org >=20 > =20 =20 This message is for the named person's use only. It may contain = confidential, proprietary or legally privileged information. No = confidentiality or privilege is waived or lost by any mistransmission. = If you receive this message in error, please notify the sender urgently = and then immediately delete the message and any copies of it from your = system. Please also immediately destroy any hardcopies of the message. = You must not, directly or indirectly, use, disclose, distribute, print, = or copy any part of this message if you are not the intended recipient. = The sender's company reserves the right to monitor all e-mail = communications through their networks. Any views expressed in this = message are those of the individual sender, except where the message = states otherwise and the sender is authorised to state them to be the = views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org