I use Apache with mod_proxy like this:

  ProxyRemote  /census/*  http://localhost:8080/census/
  ProxyPass /census http://localhost:8080/census
  ProxyPassReverse /census http://localhost:8080/census


For kernel based port forwarding you can use iptables on Linux.  More
info here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingPortForwardingWithJBoss

Works great for me and is easier to maintain than mod_jk.

-James


On Sun, 2008-02-03 at 02:43 -0800, Kevin wrote:
> I am wondering which of the different methods for running Tomcat on
> port
> 80 are "best" or most appropriate for deploying my LCDS app. In my
> research I seems to have found a couple different options. Is there a
> preference to any of theses when running a LCDS app vs a servlet based
> app?
> 
> 1) mod_jk: sounds this this is the preferred method.
> I saw this post
> http://www.brightworks.com/technology/brightworks_articles/setting_up_a_\
> windows_tomcat_fds_server.html
> which is great, but it also seemed like he was a little unsure if it
> was the "correct" way to achieve this. Thoughts?
> 
> 2) jsvc interface
> 
> 3) kernel based port forwarding: I have no idea how to do this?
> 
> Lastly, is there a way to use port 80 without having to run everything
> through an apache server (besides running with root privileges)?
> 
> Thanks for your help.
> 
> - Kevin
> 
> 
> 
> 
>  

Reply via email to