Ralph,
thank you very much for tip.

Solution of my problem is in two lines in file /etc/sysconfig/ipchains
(Linux RH 7.3 box):
-I input --proto TCP --dport 80 -j REDIRECT 8080
-I input --proto TCP --dport 443 -j REDIRECT 8443
and then restart ipchains (/etc/init.d/ipchains restart).

Now I have tomcat-only website with SSL support, executed as tomcat4 user
(non-root), with "listening" on port 80 (443). Management of this site is
easy.
I dont need to experiment with mod_jk and other Apache-related things.
Our server is small I hope that performance will not be so poor (on static
pages).
Thanks.
Leos

// index: linux ipchains port forward apache 80 tomcat 8080 root privilege

----- Original Message -----
From: "Ralph Einfeldt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, August 02, 2002 10:25 AM
Subject: AW: Standalone Tomcat on port 80 without root privileges


Some ideas:
- Use a proxy that redirects all requests on port 80 to 8080.
- Use nat and map port 80 to 8080 (port forwarding)

> -----Ursprüngliche Nachricht-----
> Von: Leos Urban [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 2. August 2002 09:53
> An: [EMAIL PROTECTED]
> Betreff: Standalone Tomcat on port 80 without root privileges
>
> How to run tomcat JSPs and servlets on Linux on port 80 without root
> privileges?
>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to