You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jury Levykin <ju...@geodigital.ru> on 2005/03/30 12:24:36 UTC

Tomcat -- port 80 for Linux

Hello!
I use tomcat 5.5 as main web server at Linux host. Me need run tomcat in
port 80.

To solve this task I see two way:
1. Running tomcat as daemon in port 80 by jsvc command.
2. Running apache in port 80 and use mod_jk to redirect users request to
tomcat.

What way is most secure?


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat -- port 80 for Linux

Posted by Pete Stevens <pe...@ex-parrot.com>.
On Wed, 30 Mar 2005, Jury Levykin wrote:

> Hello!
> I use tomcat 5.5 as main web server at Linux host. Me need run tomcat in
> port 80.
>
> To solve this task I see two way:
> 1. Running tomcat as daemon in port 80 by jsvc command.
> 2. Running apache in port 80 and use mod_jk to redirect users request to
> tomcat.
>
> What way is most secure?

At a guess, I'd say the first one. It has a few advantages :-

1: It's pure java so you're unlikely to get bitten by buffer overflow.
2: It's easier to configure (everything in one place) so you're less likely to
make a mistake when setting up the system.

Yours,

Pete Stevens

--
Pete Stevens
pete@ex-parrot.com
http://www.ex-parrot.com/~pete/

   Only in Britain... do banks leave both doors open and chain the pens to the
                                                                      counters.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat -- port 80 for Linux

Posted by "Trond G. Ziarkowski" <tr...@gep-as.com>.
Hi,

I would suggest using jsvc as it seems that many people are struggling 
with mod_jk / mod_proxy. Be sure to use latest version from cvs though, 
not the one that comes with Tomcat, to save you some trouble with 
restarting etc. (at least with 5.0.28).


Trond

Jury Levykin wrote:

> Hello!
> I use tomcat 5.5 as main web server at Linux host. Me need run tomcat in
> port 80.
>
> To solve this task I see two way:
> 1. Running tomcat as daemon in port 80 by jsvc command.
> 2. Running apache in port 80 and use mod_jk to redirect users request to
> tomcat.
>
> What way is most secure?
>
>
> ---------------------------------------------------------------------
> 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 -- port 80 for Linux

Posted by FRANCOIS Dufour <fr...@hotmail.com>.
somwere your going to see this in your server xml under /conf of your 
tomcat_home  folder
if there you say 80 it will run on 80 exept if there is alredy somting on 
port 80?

Define a non-SSL HTTP/1.1 Connector on port 8080<-----!!!!

  <Connector className="org.apache.catalina.connector.http.HttpConnector" 
port="8080"<-----!!!!



francoisdufour@hotmail.com
administrateur http://monteregiechat.org




>From: Jury Levykin <ju...@geodigital.ru>
>Reply-To: "Tomcat Users List" <to...@jakarta.apache.org>
>To: tomcat-user@jakarta.apache.org
>Subject: Tomcat -- port 80 for Linux
>Date: Wed, 30 Mar 2005 14:24:36 +0400
>
>Hello!
>I use tomcat 5.5 as main web server at Linux host. Me need run tomcat in
>port 80.
>
>To solve this task I see two way:
>1. Running tomcat as daemon in port 80 by jsvc command.
>2. Running apache in port 80 and use mod_jk to redirect users request to
>tomcat.
>
>What way is most secure?
>
>
>---------------------------------------------------------------------
>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