-none- 2007-08-15 - By David Rodr?guez Fern?ndez
Back You can execute tihs iptables line (if you are using linux) directly in the server where you run tomcat (substitute xxx.xxx.xxx.xxx whith the ip address of your linux box):
iptables -t nat -A PREROUTING -d xxx.xxx.xxx.xxx -p tcp -m tcp --dport 443 -j DNAT --to-destination xxx.xxx.xxx.xxx:8443
On 8/14/07, Stephen Caine <stephen@(protected)> wrote: > > Is there a way to remove the port number from a https request where > the original url looks something like this: > > https://host_name:8443/ > > The approach to change the server.xml file (where the connector port > is changed from 8443 to 443) is not practical for us. When this is > done, Tomcat requires the root user to run. We consider this a > security risk. > > We have considered a port forwarder, but we are unclear whether to > install this on the Tomcat server or router. In any event, we are > not at all sure this is the best approach. Any advice will be > appreciated. Our operating system is Mac OS X. > > Thanks, > > Stephen > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To start a new topic, e-mail: users@(protected) > To unsubscribe, e-mail: users-unsubscribe@(protected) > For additional commands, e-mail: users-help@(protected) > >
-- Nadie es tan joven que no se pueda morir ma?ana, ni tan viejo que no pueda vivir un d?a m?s.
? La Celestina (Fernando de Rojas, 1499)
|
|