Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 926B7C602 for ; Mon, 17 Nov 2014 12:16:13 +0000 (UTC) Received: (qmail 4454 invoked by uid 500); 17 Nov 2014 12:16:09 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 4417 invoked by uid 500); 17 Nov 2014 12:16:09 -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 4407 invoked by uid 99); 17 Nov 2014 12:16:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2014 12:16:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.217.180] (HELO mail-lb0-f180.google.com) (209.85.217.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2014 12:16:05 +0000 Received: by mail-lb0-f180.google.com with SMTP id z11so8934786lbi.39 for ; Mon, 17 Nov 2014 04:14:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=BSuwBvmzbiJ1Tb1g5bbaYD0CMMyTf1oikom109hLDyQ=; b=QgIqNfVqcOEbdG08F+ylQuBONu2wVbSKMbFLew7VA4c5l1h6xr04nw35us/V1DEVFo ezsQeC3N3h1jcCGtaLHajp/gYnozXAeg8W39Yiqcq1Bts/QBsAvG1d8a8wPDNubqOWBn juNg0fYPOxrw9ZVj7pHnsDTQ9+Wy5FRGaBARisuL/3yqrdgIxH6ekUO8wW+2EY42ATU/ VG+TbRSR5QsycxXc0lpWIMj4wqdCmzXeTQhtaVRHvlAtUIPPyPOHsLD2SEbKsiN7OISE nlUI8GkNlbAEfCDaowsolTD/0ST7cvuWEEPUztyqrN9rI0ldzhwfUxhtxaGvUL+QCt2N qivg== X-Gm-Message-State: ALoCoQnFI/qK3TlIYJhELheepWgBtYD+m23Qr+nY3MX/FHJHSoelMwTKlpSxxlxhoVpL0DaKM22PECDJT36sFL/yCj3rKmmKI/Gpg86NDWLcn17I/x8Jl68= MIME-Version: 1.0 X-Received: by 10.112.168.129 with SMTP id zw1mr7885842lbb.77.1416226497889; Mon, 17 Nov 2014 04:14:57 -0800 (PST) Received: by 10.25.28.3 with HTTP; Mon, 17 Nov 2014 04:14:57 -0800 (PST) Date: Mon, 17 Nov 2014 12:14:57 +0000 Message-ID: From: Rajalakshmi Iyer To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001a11c240a45422bc05080cedd5 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_rewrite use case --001a11c240a45422bc05080cedd5 Content-Type: text/plain; charset=UTF-8 Hello, I have an Apache module based application server (A) that handles requests. Some of these requests based on a cache hit / miss need to go to another server (B) to be handled. Would this make a use case for mod_rewrite / mod_proxy where we forward the requests to another server (B) based on a cache lookup in a module inside the first server (A)? Note that the response from the second server (B) needs to be sent back to the client that sent the request to the first server (A). Thanks Raj -- @BlisMedia www.blismedia.com This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of BlisMedia Ltd, a company registered in England and Wales with registered number 06455773. Its registered office is 3rd Floor, 101 New Cavendish St, London, W1W 6XH, United Kingdom. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. --001a11c240a45422bc05080cedd5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I have an Apache module= based application server (A) that handles requests. Some of these requests= based on a cache hit / miss need to go to another server (B) to be handled= .

Would this make a use case for mod_rewrite / mod_proxy where we f= orward the requests to another server (B) based on a cache lookup in a modu= le inside the first server (A)?

Note that the response from th= e second server (B) needs to be sent back to the client that sent the reque= st to the first server (A).

Thanks
Raj


=
=
This email and any= attachments to it may be confidential and are intended=C2=A0solely fo= r the use of the individual to whom it is addressed. Any views or=C2=A0opinions expressed are solely those of the author and do not necessarily= =C2=A0represent those of BlisMedia Ltd, a company registered in England= and Wales=C2=A0with registered number 06455773. Its registered office= is 3rd Floor,=C2=A0101 New Cavendish St, London, W1W 6XH, United King= dom.

If you are not the intended recipient of this email, you must neither t= ake any=C2=A0action based upon its contents, nor copy or show it to any= one. Please contact=C2=A0the sender if you believe you have received t= his email in error.=C2=A0
--001a11c240a45422bc05080cedd5--