Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 95191 invoked by uid 500); 24 Jul 2003 12:07:40 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 95169 invoked from network); 24 Jul 2003 12:07:40 -0000 Received: from smtp.infores.com (192.152.134.67) by daedalus.apache.org with SMTP; 24 Jul 2003 12:07:40 -0000 Received: FROM chiexbr0.infores.com BY smtp.infores.com ; Thu Jul 24 07:07:40 2003 -0500 Received: from FRMSE01.fr.infores.com ([170.118.115.19]) by chiexbr0.infores.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 24 Jul 2003 07:07:40 -0500 Received: from infores.com ([170.118.99.22]) by FRMSE01.fr.infores.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 24 Jul 2003 14:07:38 +0200 Message-ID: <3F1FCC0A.7040502@infores.com> Date: Thu, 24 Jul 2003 14:07:38 +0200 From: Laurent Blume User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en, de MIME-Version: 1.0 To: users@httpd.apache.org References: <3F1EAA8E.9050508@global-matrix.com> In-Reply-To: <3F1EAA8E.9050508@global-matrix.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Jul 2003 12:07:38.0730 (UTC) FILETIME=[2D11C4A0:01C351DC] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] using an apache web server as the middle guy Jason Jesso wrote: > I am faced with a very awkward problem. I have a client who connects to > some web site to book airline tickets. I would like them to connect to > our apache web server and get the airlines web pages that way. I want > to do this because I want to get the some data into our system (I want > to intercept the http data and extract certain data.). > > Can the apache web server act as a bridge between a browser and another > web server? I don't want to replace the apache web server with my own > kind of web server. > > So a client connects to my apache web server. Something (?) there sends > (or forwards) the request to the airlines web server and receives the > response and sends it to the clients browser. Basically, this is a proxy configuration, and there is an Apache module that does that. However, since I'm pretty much sure that booking those tickets involves an HTTPS connection, you won't be able to see the content. It's theorically possible to decrypt en reencrypt, but that would make any browser scream there is something wrong going on. You could develop a frontend for your client, with your own forms, that accept the data, and then makes its own requests to the other web site. That would mean interpreting the content of the site's HTML, and would need a constant monitoring for change that would break your processing... That can be done in many ways, CGI, Perl, PHP, JSP, whatever your fancy is, but it's not obvious. HTH, Laurent --------------------------------------------------------------------- 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