You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vic Cekvenich <ce...@portalvu.com> on 2004/08/01 16:50:15 UTC
proxy to php app
I know how to write servlets and filters.
How do I create a proxy app on tomcat that would forward to a php app? I
do not know how to start.
tia,
.V
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [tomcat] proxy to php app
Posted by Filip Hanik - Dev <de...@hanik.com>.
look at the balancer webapp, it should do exactly that
Filip
----- Original Message -----
From: "Ruth, Brice" <br...@fiskars.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, August 02, 2004 11:26 AM
Subject: Re: [tomcat] proxy to php app
Well, Tomcat can't load PHPs, so what server are you using to server the
PHP content? Why does Tomcat have to be the proxy, instead of the other
way around? Writing a proxy servlet sounds like its going to be painful ...
Vic Cekvenich wrote:
> I can't use Apache. It has to go to Tomcat.
> Servlets ideas to write proxy?
>
> .V
>
> Ernesto Echeverría wrote:
>
>> I've started to use apache with mod_jk2, meaning that apache handles
>> the web
>> server content and forwards request to tomcat according to your
>> configuration.
>>
>> In that way you keep using all your apache "goodies", cgi-bin, php,
>> etc...
>>
>> So my recommendation is: use mod_jk2, keep apache for everything else...
>>
>>
>> José Ernesto Echeverría
>> ernestoe@telemovil.net
>>
>>
>> -----Original Message-----
>> From: news [mailto:news@sea.gmane.org] On Behalf Of Vic Cekvenich
>> Sent: Domingo, 01 de Agosto de 2004 08:50 a.m.
>> To: tomcat-user@jakarta.apache.org
>> Subject: [tomcat] proxy to php app
>>
>> I know how to write servlets and filters.
>>
>> How do I create a proxy app on tomcat that would forward to a php
>> app? I do
>> not know how to start.
>>
>> tia,
>> .V
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
--
Brice Ruth, Sr. IT Analyst
Fiskars Brands Inc
http://www.fiskarsbrands.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [tomcat] proxy to php app
Posted by "Ruth, Brice" <br...@fiskars.com>.
Well, Tomcat can't load PHPs, so what server are you using to server the
PHP content? Why does Tomcat have to be the proxy, instead of the other
way around? Writing a proxy servlet sounds like its going to be painful ...
Vic Cekvenich wrote:
> I can't use Apache. It has to go to Tomcat.
> Servlets ideas to write proxy?
>
> .V
>
> Ernesto Echeverría wrote:
>
>> I've started to use apache with mod_jk2, meaning that apache handles
>> the web
>> server content and forwards request to tomcat according to your
>> configuration.
>>
>> In that way you keep using all your apache "goodies", cgi-bin, php,
>> etc...
>>
>> So my recommendation is: use mod_jk2, keep apache for everything else...
>>
>>
>> José Ernesto Echeverría
>> ernestoe@telemovil.net
>>
>>
>> -----Original Message-----
>> From: news [mailto:news@sea.gmane.org] On Behalf Of Vic Cekvenich
>> Sent: Domingo, 01 de Agosto de 2004 08:50 a.m.
>> To: tomcat-user@jakarta.apache.org
>> Subject: [tomcat] proxy to php app
>>
>> I know how to write servlets and filters.
>>
>> How do I create a proxy app on tomcat that would forward to a php
>> app? I do
>> not know how to start.
>>
>> tia,
>> .V
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
--
Brice Ruth, Sr. IT Analyst
Fiskars Brands Inc
http://www.fiskarsbrands.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: [tomcat] proxy to php app
Posted by Vic Cekvenich <ce...@portalvu.com>.
I can't use Apache. It has to go to Tomcat.
Servlets ideas to write proxy?
.V
Ernesto Echeverría wrote:
> I've started to use apache with mod_jk2, meaning that apache handles the web
> server content and forwards request to tomcat according to your
> configuration.
>
> In that way you keep using all your apache "goodies", cgi-bin, php, etc...
>
> So my recommendation is: use mod_jk2, keep apache for everything else...
>
>
> José Ernesto Echeverría
> ernestoe@telemovil.net
>
>
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Vic Cekvenich
> Sent: Domingo, 01 de Agosto de 2004 08:50 a.m.
> To: tomcat-user@jakarta.apache.org
> Subject: [tomcat] proxy to php app
>
> I know how to write servlets and filters.
>
> How do I create a proxy app on tomcat that would forward to a php app? I do
> not know how to start.
>
> tia,
> .V
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: [tomcat] proxy to php app
Posted by Ernesto Echeverría <er...@telemovil.net>.
I've started to use apache with mod_jk2, meaning that apache handles the web
server content and forwards request to tomcat according to your
configuration.
In that way you keep using all your apache "goodies", cgi-bin, php, etc...
So my recommendation is: use mod_jk2, keep apache for everything else...
José Ernesto Echeverría
ernestoe@telemovil.net
-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Vic Cekvenich
Sent: Domingo, 01 de Agosto de 2004 08:50 a.m.
To: tomcat-user@jakarta.apache.org
Subject: [tomcat] proxy to php app
I know how to write servlets and filters.
How do I create a proxy app on tomcat that would forward to a php app? I do
not know how to start.
tia,
.V
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org