Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 29824 invoked from network); 22 Feb 2007 09:56:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2007 09:56:58 -0000 Received: (qmail 14658 invoked by uid 500); 22 Feb 2007 09:57:06 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 14628 invoked by uid 500); 22 Feb 2007 09:57:06 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 14619 invoked by uid 99); 22 Feb 2007 09:57:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 01:57:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [142.103.6.52] (HELO smtp.cs.ubc.ca) (142.103.6.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 01:56:53 -0800 Received: from [128.189.138.12] (sr-12.srtb01.resnet.ubc.ca [128.189.138.12]) (authenticated bits=0) by smtp.cs.ubc.ca (8.13.7/8.13.6) with ESMTP id l1M9uUCn030750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 22 Feb 2007 01:56:33 -0800 Message-ID: <45DD68C8.5050803@cs.ubc.ca> Date: Thu, 22 Feb 2007 01:56:24 -0800 From: Erica Zhang User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Some question about adding some independent module or middleware to intercept HTTP requests Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Now, I want to aggregate some HTTP requests on client and then send those requests by use of one file. So I need to parse the file on the server. Then handle those requests one by one. To realize those purposes. I want to intercept HTTP request from the client and after doing analysis and operations on the request, input those parsed requests to Apache HTTP Server (or other kinds of server. I do not want this module or middleware to be limited special platform.). Then the web server would work as before. Is there some way to work it out ? I just want to do it as follows: I will catch the request file by use of another port different with HTTP server and then send the analyzed request by use of HTTP client to the Apache HTTP Server one by one. Is that OK ? Additionally, how will it affect the performance ? Is there some way for me to input those request just like a local call instead of using HTTP client ? Also, which way is better for me to transfer the request file from client to the server ? Thanks, Erica