tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Kerle <matthew.ke...@sra.com.au>
Subject Re: Removing the port identifier
Date Thu, 16 Aug 2007 02:15:58 GMT
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:mattkerle@gmail.com>
Web:      Matthew Kerle <http://threebrightlights.blogspot.com/>


Stephen Caine wrote:
> 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 :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 bind to the port as a privileged user and 
>> subsequently drop priv's to a limited user. the Apache web server is 
>> excellent for this kind of thing.
>>
>> The easiest way to do this would be with apache sitting in front of 
>> tomcat with either mod_jk2 or forwarding requests with mod_rewrite. 
>> It doesn't really matter where the port forwarder sits, but usually 
>> you want to align with existing IT infrastructure and use an existing 
>> internal/internet web server to redirect requests to your app. If 
>> your company already has apache then this is a cinch, otherwise 
>> you'll have to figure out how to reverse-proxy with the web server du 
>> jour...
>>
>> Is this close to what you're after?


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message