"Antonio W. Lagnada" wrote:

> I have Tomcat on Linux and I gave up trying to make it work for port
> 80! I guess I just used the default port instead.  My Apache server is
> not running tomcat, i have to run the tomcat server separately.  I just
> configured my linux server to start tomcat on reboot.
>

Linux, and all other Unix systems, restrict ports < 1024 to processes running root,
for security reasons.  You should not run Tomcat as root, because it would give all
your servlets root privileges.

Approaches to consider for serving servlets/JSPs on port 80:

* Configure Apache to forward servlet and JSP requests to Tomcat
  (as outlined in the instructions).

* Find a port redirector utility (like the "redir" command available,
  at least, on Debian systems) to redirect requests on port 80 to
  the port your Tomcat is running on.

> Antonio W. Lagnada
>

Craig McClanahan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to