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 102299B64 for ; Wed, 6 Mar 2013 18:12:06 +0000 (UTC) Received: (qmail 9534 invoked by uid 500); 6 Mar 2013 18:12:02 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 9502 invoked by uid 500); 6 Mar 2013 18:12:02 -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 9494 invoked by uid 99); 6 Mar 2013 18:12:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 18:12:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anilj.mailing@gmail.com designates 209.85.210.196 as permitted sender) Received: from [209.85.210.196] (HELO mail-ia0-f196.google.com) (209.85.210.196) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 18:11:56 +0000 Received: by mail-ia0-f196.google.com with SMTP id l25so1635308iad.3 for ; Wed, 06 Mar 2013 10:11:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=1JUaUUuNWs8cJC/ZzsKxWn8HK77niEQirGYzvdLj9b8=; b=FsK/f3mtc3+YnsegiQVVNBiGAx6uCOKToGYBmJraO/rY2bY1kB2wgo+wXsfHksD7bl dFhM9fFpz1+fWZG3eKOP2ZW9zZk5S9MOZkChEiNPxHQOFrqtwsj1ukuys5v4EOZflAVM mqE/Y3uv4EEQCYERpsqpRRd3fnpmUaVTeg60JSxVfW7jZwLlmcdBIAd8uorKu4XJxqh9 am866/uJ4NyoiS4ufGgbkusPBKLzjhSA9UZI3T2Yqdh09AEwRTjDJPTmNI+mkXO7pzn/ vA0mXmc6yXuK+g2mJR8lwDoK0nwLTqerRAtTBzddPV6jzsT78/d0w802UMvXwkHKnUyR WkeQ== MIME-Version: 1.0 X-Received: by 10.50.155.134 with SMTP id vw6mr11861057igb.34.1362593488442; Wed, 06 Mar 2013 10:11:28 -0800 (PST) Received: by 10.50.132.73 with HTTP; Wed, 6 Mar 2013 10:11:28 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Mar 2013 13:11:28 -0500 Message-ID: From: Anil J To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=e89a8f3ba0b1da1ce804d7458419 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Re: Apache Forward Proxy with App Server Integration. --e89a8f3ba0b1da1ce804d7458419 Content-Type: text/plain; charset=ISO-8859-1 Hi, can anyone comment on this? /anil. On Wed, Mar 6, 2013 at 12:25 AM, Anil Jangam wrote: > Hi, > > I am trying to understand how can I setup a Apache httpd instance with > proxy functionality addition to an integration of a Application Server. > > I am looking for is that Proxy should be able to forward the HTTP Requests > and Response messages coming from client to this Application Server. At the > same time, any HTTP Responses coming from Origin server should also be able > to route to Application Server if any processing is required. The network > diagram looks like below. > > +-------+ > | Orig | > | Server| > +-------+ > | | > | | > +-------+ +-------+ > |Proxy |------>|App | > |Server |<------|Server | > +-------+ +-------+ > | | > | | > +-------+ > |Client | > | | > +-------+ > > Technically speaking, I can as well implement the App Server logic in the > httpd as another module, but I do not want to do that. I want to leverage > the flexibility of Java, and this App Server is essentially is a Tomcat > instance. > > What I learned so far is we can use mod_proxy, mod_jk, mod_proxy_ajp etc. > However, these combinations are either providing the functionality of a > load balancer or reverse proxy functionality. > > As stated above, my requirement is to intercept both the HTTP traffic > path, and have them processed by App Server via Proxy. Can you please > provide me the solution options for this requirement? > > Please also point me to any references/tutorials/how-to guides if > available. > > Thanks, > /anil. > > > --e89a8f3ba0b1da1ce804d7458419 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, can anyone comment on this?

/anil.

On Wed, Mar 6, 2013 at 12:25 AM, Anil Jangam <anilj= .mailing@gmail.com> wrote:
Hi,

I am trying to unders= tand how can I setup a Apache httpd instance with proxy functionality addit= ion to an integration of a Application Server.=A0

I am looking for is that Proxy should be able to forwar= d the HTTP Requests and Response messages coming from client to this Applic= ation Server. At the same time, any HTTP Responses coming from Origin serve= r should also be able to route to Application Server if any processing is r= equired. The network diagram looks like below.=A0

+-------+
| Or= ig |
| Server|
+-------+
=A0| =A0|
=A0| =A0|
+-------+ +------= -+
|Proxy |------>|App |
|Server |<----= --|Server |
+-------+ +------= -+
=A0| =A0|
=A0| =A0|
+-------+
|Client |<= /div>
| |
+-------+

Technically speaking, I can as well impleme= nt the App Server logic in the httpd as another module, but I do not want t= o do that. I want to leverage the flexibility of Java, and this App Server = is essentially is a Tomcat instance.=A0

What I learned so far is we can use mod_proxy, mod_jk, = mod_proxy_ajp etc. However, these=A0combinations=A0are either providing the= functionality of a load balancer or reverse proxy functionality.=A0
<= div>
As stated above, my requirement is to intercept both the HTT= P traffic path, and have them processed by App Server via Proxy. Can you pl= ease provide me the solution options for this requirement?

Please also point me to any references/tutorials/how-to guides i= f available.

Thanks,
/anil.


--e89a8f3ba0b1da1ce804d7458419--