Re: Removing the port identifier

2007-08-16 Thread David Rodríguez Fernández
In OSX you must use ipfw, i don't know how ipfw is used, but i think this must be similar to iptables. On 8/15/07, Stephen Caine [EMAIL PROTECTED] wrote: David, Do you know what the corresponding command (iptables) would be in OS X? You can execute tihs iptables line (if you are using

Re: Removing the port identifier

2007-08-15 Thread David Rodríguez Fernández
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

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Chris, Thank you for the suggestion. I will investigate. Stephen Tomcat does not require you to run it as root in order to use port 443. There are various techniques, including using a web server such as Apache httpd to front Tomcat, iptables (or similar) tricks to re-route ports, or

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Hassan, I appreciate the link. Stephen Nope; see the reference to jsvc here: http://tomcat.apache.org/tomcat-6.0-doc/setup.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Matthew, Thank you for your response. Apart from using iptables (which may or may not work in OS X), the Tomcat setup link, http:// tomcat.apache.org/tomcat-6.0-doc/setup.html, seems to be the best way to go. the only way to get rid of the port number is to have something listening on

Re: Removing the port identifier

2007-08-15 Thread Matthew Kerle
no worries. I didn't know about jsvc or commons-daemon before (I do now!), so I learnt something too! best of luck with your app. * Matthew Kerle * * IT Consultant * * Canberra, Australia* Mobile: +61404 096 863 Email: Matthew Kerle mailto:[EMAIL PROTECTED] Web: Matthew Kerle

Re: Removing the port identifier

2007-08-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Caine 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/ If the URL does not contain the port number, then the web browser will fail to

Re: Removing the port identifier

2007-08-14 Thread Hassan Schroeder
On 8/14/07, Stephen Caine [EMAIL 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

Re: Removing the port identifier

2007-08-14 Thread Matthew Kerle
the only way to get rid of the port number is to have something listening on :443 (that's the way browsers are, sorry), and then hand requests over to tomcat, so to get what you want something will have to bind to :443 at some point, requiring root privs. What you want is something that will

Re: Removing the port identifier

2007-08-14 Thread Matthew Kerle
oops, sorry I meant mod_proxy, not mod_rewrite... -- * Matthew Kerle ** IT Consultant* ** * Canberra, Australia* Mobile: +61404 096 863 Email: mailto:[EMAIL PROTECTED] Matthew Kerle mailto:[EMAIL PROTECTED] Web: Matthew Kerle http://threebrightlights.blogspot.com/ Matthew Kerle

RE: Removing the port identifier

2007-08-14 Thread Caldarale, Charles R
From: Matthew Kerle [mailto:[EMAIL PROTECTED] Subject: Re: Removing the port identifier the Apache web server is excellent for this kind of thing. There are much better ways to run Tomcat on low ports than adding the path length of another web server; several messages have already pointed

Re: Removing the port identifier

2007-08-14 Thread Matthew Kerle
: mailto:[EMAIL PROTECTED] Matthew Kerle mailto:[EMAIL PROTECTED] Web: Matthew Kerle http://threebrightlights.blogspot.com/ Caldarale, Charles R wrote: From: Matthew Kerle [mailto:[EMAIL PROTECTED] Subject: Re: Removing the port identifier the Apache web server is excellent for this kind

RE: Removing the port identifier

2007-08-14 Thread Caldarale, Charles R
From: Matthew Kerle [mailto:[EMAIL PROTECTED] Subject: Re: Removing the port identifier If the application has a lot of static content then it makes good performance sense to put something in front of it, either apache or squid. but that's probably not an issue in this case...;-p