Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88213 invoked by uid 500); 24 Jul 2002 09:29:19 -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 88190 invoked from network); 24 Jul 2002 09:29:19 -0000 Received: from unknown (HELO dc3-ras.goldenmail.co.il) (194.90.80.28) by daedalus.apache.org with SMTP; 24 Jul 2002 09:29:19 -0000 Received: from dc3-s11.goldenmail.co.il (unverified) by dc3-ras.goldenmail.co.il (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Wed, 24 Jul 2002 12:30:52 +0200 Received: by DC3-S11 with Internet Mail Service (5.5.2653.19) id <3GJPC5AJ>; Wed, 24 Jul 2002 12:29:23 +0200 Message-ID: <9B4A01A5000CD511B40B0002A508DA95F193CB@DC3-INT.Dapey.Zahav.il> From: Dror Braznitzki To: "'users@httpd.apache.org'" Subject: RE: Apache requests Date: Wed, 24 Jul 2002 12:29:38 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C232FD.03AE8980" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C232FD.03AE8980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Take a look at this page: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/proxy-howto.html -----Original Message----- From: Martin Kerstein [mailto:kerstein@wapme-systems.de] Sent: Wednesday, July 24, 2002 11:11 AM To: users@httpd.apache.org Subject: Re: Apache requests Hy. My setup is the following: I have 3 apache who are loadbalanced bei balance, a commandline tool. The apache machines each have 2 interfaces, one with a public IP, one with a private IP. The 4 tomcat machines are located in the private subnet, so they are = not visible to the outside world. Communication between the apache machines and the tomcat machines (loadbalancing) is handled via mod_jk. The requests the apache machines forward to the tomcat machines always show the inner IP of the apache server. I am not familiar with mod_proxy, I always thought that you use it just for, well, proxying apache servers. If you think mod_proxy could solve my problem I would be more than thankful for any help concerning configuration. Thank you very much for your help!!! Martin > Dror Braznitzki wrote: >=20 > Hi, >=20 > How do you comunicate between the apache and tomcat servers now ? > I do not see the problem with mod_proxy and loadbalancing, I'm using > 6 apache (with mod_proxy) machines with hardware loadbalancing and = I'm >=20 > not suffering from any problems. >=20 > -----Original Message----- > From: Martin Kerstein [mailto:kerstein@wapme-systems.de] > Sent: Wednesday, July 24, 2002 9:26 AM > To: users@httpd.apache.org > Subject: Re: Apache requests >=20 > Hi. >=20 > No, I don't (up until now, that is) > I thought about using mod_proxy, but I am not quite sure if it will > work > in my setup - I have 3 apache boxes that are loadbalanced...... >=20 > > Dror Braznitzki wrote: > > > > Hi, > > > > Are you using the apache server as a proxy server with mod_proxy ? > > If so, you can use mod_proxy_add_forward - > > = http://freshmeat.net/projects/mod_proxy_add_forward.c/?topic_id=3D250 > > > > -----Original Message----- > > From: Martin Kerstein [mailto:kerstein@wapme-systems.de] > > Sent: Tuesday, July 23, 2002 1:59 PM > > To: users@httpd.apache.org > > Subject: Apache requests > > > > Hy. > > > > I have a question concerning the way requests are handled. > > > > I have the following setup: > > -apache 1.3.26 as frontend machine > > -tomcat 4.0.2 for handling Java Servlets, not visible from the > > outside. > > > > The question is: > > > > When apache hands the requests to the tomcat machines, only the IP > of > > the apache-box is visible, not the original IP which made the > request. > > > > Is there a way I can trick apache into passing on the requesting = IP? >=20 > > > > Thank You very much > > > > Martin > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > = ********************************************************************** >=20 > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom = they >=20 > > are addressed. If you have received this email in error please > notify > > the system manager. > > > > This footnote also confirms that this email message has been swept > by > > MIMEsweeper for the presence of computer viruses. > > > > postmaster@d.co.il > > > = ********************************************************************** >=20 > -- > F=FCr weitere Fragen stehe ich Ihnen gerne telefonisch > oder via E-Mail zur Verf=FCgung. >=20 > Mit freundlichen Gr=FC=DFen >=20 > Martin Kerstein > Unix-Administration >=20 > ----------------------------------------------------------------- > Wapme Systems AG > Vogelsanger Weg 80 > 40470 D=FCsseldorf >=20 > Tel.: + 49 -211-7 48 45 - 0 > Fax: + 49 -211-7 48 45 - 177 >=20 > E-Mail: kerstein@wapme-systems.de > Internet:http://www.wapme-systems.de > ----------------------------------------------------------------- >=20 > - Wapme Systems AG - > Der Wert f=FCr mobile Internetkommunikation > am NEUEN MARKT > WKN: 549550 - Reutersk=FCrzel: WPM G.F >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org --=20 F=FCr weitere Fragen stehe ich Ihnen gerne telefonisch oder via E-Mail zur Verf=FCgung. Mit freundlichen Gr=FC=DFen Martin Kerstein Unix-Administration ----------------------------------------------------------------- Wapme Systems AG Vogelsanger Weg 80 40470 D=FCsseldorf Tel.: + 49 -211-7 48 45 - 0 Fax: + 49 -211-7 48 45 - 177 E-Mail: kerstein@wapme-systems.de Internet:http://www.wapme-systems.de ----------------------------------------------------------------- - Wapme Systems AG - Der Wert f=FCr mobile Internetkommunikation am NEUEN MARKT WKN: 549550 - Reutersk=FCrzel: WPM G.F --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org ------_=_NextPart_001_01C232FD.03AE8980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Apache requests

Take a look at this page: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/proxy-= howto.html

-----Original Message-----
From: Martin Kerstein [mailto:kerstein@wapme-systems.= de]
Sent: Wednesday, July 24, 2002 11:11 AM
To: users@httpd.apache.org
Subject: Re: Apache requests


Hy.

My setup is the following:

I have 3 apache who are loadbalanced bei balance, a = commandline tool.
The apache machines each have 2 interfaces, one with = a public IP, one
with a private IP.
The 4 tomcat machines are located in the private = subnet, so they are not
visible to the outside world.
Communication between the apache machines and the = tomcat machines
(loadbalancing) is handled via mod_jk.
The requests the apache machines forward to the = tomcat machines always
show the inner IP of the apache server.

I am not familiar with mod_proxy, I always thought = that you use it just
for, well, proxying apache servers.
If you think mod_proxy could solve my problem I = would be more than
thankful for any help concerning = configuration.

Thank you very much for your help!!!

Martin



> Dror Braznitzki wrote:
>
> Hi,
>
> How do you comunicate between the apache and = tomcat servers now ?
> I do not see the problem with mod_proxy and = loadbalancing, I'm using
> 6 apache (with mod_proxy) machines with = hardware loadbalancing and I'm
>
> not suffering from any problems.
>
> -----Original Message-----
> From: Martin Kerstein [mailto:kerstein@wapme-systems.= de]
> Sent: Wednesday, July 24, 2002 9:26 AM
> To: users@httpd.apache.org
> Subject: Re: Apache requests
>
> Hi.
>
> No, I don't (up until now, that is)
> I thought about using mod_proxy, but I am not = quite sure if it will
> work
> in my setup  - I have 3 apache boxes that = are loadbalanced......
>
> > Dror Braznitzki wrote:
> >
> > Hi,
> >
> > Are you using the apache server as a proxy = server with mod_proxy ?
> > If so, you can use mod_proxy_add_forward = -
> > http://freshmeat.net/projects/mod_proxy_add_forward.c/= ?topic_id=3D250
> >
> > -----Original Message-----
> > From: Martin Kerstein [mailto:kerstein@wapme-systems.= de]
> > Sent: Tuesday, July 23, 2002 1:59 = PM
> > To: users@httpd.apache.org
> > Subject: Apache requests
> >
> > Hy.
> >
> > I have a question concerning the way = requests are handled.
> >
> > I have the following setup:
> > -apache 1.3.26 as frontend machine
> > -tomcat 4.0.2 for handling Java Servlets, = not visible from the
> > outside.
> >
> > The question is:
> >
> > When apache hands the requests to the = tomcat machines, only the IP
> of
> > the apache-box is visible, not the = original IP which made the
> request.
> >
> > Is there a way I can trick apache into = passing on the requesting IP?
>
> >
> > Thank You very much
> >
> > Martin
> >
> >
> = ---------------------------------------------------------------------
> > To unsubscribe, e-mail: = users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: = users-help@httpd.apache.org
> >
> >
> = **********************************************************************
>
> > This email and any files transmitted with = it are confidential and
> > intended solely for the use of the = individual or entity to whom they
>
> > are addressed. If you have received this = email in error please
> notify
> > the system manager.
> >
> > This footnote also confirms that this = email message has been swept
> by
> > MIMEsweeper for the presence of computer = viruses.
> >
> > postmaster@d.co.il
> >
> = **********************************************************************
>
> --
> F=FCr weitere Fragen stehe ich Ihnen gerne = telefonisch
> oder via E-Mail zur Verf=FCgung.
>
> Mit freundlichen Gr=FC=DFen
>
> Martin Kerstein
> Unix-Administration
>
> = -----------------------------------------------------------------=
> Wapme Systems AG
> Vogelsanger Weg 80
> 40470 D=FCsseldorf
>
> Tel.:  + 49 -211-7 48 45 - 0
> Fax:  + 49 -211-7 48 45 - 177
>
> E-Mail:   = kerstein@wapme-systems.de
> Internet:http://www.wapme-systems.de
> = -----------------------------------------------------------------=
>
>          = ;  - Wapme Systems AG -
> Der Wert f=FCr mobile = Internetkommunikation
>          = ;    am NEUEN MARKT
>  WKN: 549550 - Reutersk=FCrzel: WPM = G.F
>
> = ---------------------------------------------------------------------
> To unsubscribe, e-mail: = users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: = users-help@httpd.apache.org

--
F=FCr weitere Fragen stehe ich Ihnen gerne = telefonisch
oder via E-Mail zur Verf=FCgung.

Mit freundlichen Gr=FC=DFen

Martin Kerstein
Unix-Administration

---------------------------------------------------------------= --
Wapme Systems AG
Vogelsanger Weg 80
40470 D=FCsseldorf

Tel.:  + 49 -211-7 48 45 - 0
Fax:  + 49 -211-7 48 45 - 177

E-Mail:   kerstein@wapme-systems.de
Internet:http://www.wapme-systems.de
---------------------------------------------------------------= --

           - = Wapme Systems AG -
Der Wert f=FCr mobile Internetkommunikation
          &nb= sp;  am NEUEN MARKT
 WKN: 549550 - Reutersk=FCrzel: WPM G.F

---------------------------------------------------------------= ------
To unsubscribe, e-mail: = users-unsubscribe@httpd.apache.org
For additional commands, e-mail: = users-help@httpd.apache.org

------_=_NextPart_001_01C232FD.03AE8980--