openbsd-ports/www/jakarta-tomcat/v4/files
sturm eba4caaede fix a comment
from maintainer Kurt Miller <truk at apache.org>
2004-04-01 05:55:47 +00:00
..
README.OpenBSD update to jakarta-tomcat 4.1.29 2003-12-15 21:21:18 +00:00
tomcat.rc fix a comment 2004-04-01 05:55:47 +00:00

$OpenBSD: README.OpenBSD,v 1.3 2003/12/15 21:21:18 sturm Exp $

Jakarta Tomcat on OpenBSD uses `y0y0y1/tomcat' for it's configuration files.
The files in this directory are for reference and backup only.

With the following command tomcat is started as user `_tomcat':
$ sudo -u _tomcat y0y0y0/bin/startup.sh

As `sudo' doesn't pass environment variables, you should define
environment variables in `y0y0y1/tomcat/tomcat.rc'.

If you want Jakarta Tomcat to serve on privileged ports (e.g. 80),
then either edit `y0y0y1/tomcat/server.xml' and change the Connector port
to 80, or even more secure: redirect all tcp traffic to port 80
to tomcat's default listener port 8080 using a pf.conf(5) rule like:

   rdr on $NIC proto tcp from any to any port 80 -> 127.0.0.1 port 8080

`$CATALINA_BASE' (formerly `$TOMCAT_HOME') is `/var/tomcat'.