Apache 2.0 and Tomcat 4.1 - looking for a more relevant mailing list

Jonathan Chen jonc at chen.org.nz
Sun Apr 20 23:54:31 PDT 2003

On Sun, Apr 20, 2003 at 07:01:21PM -0400, Louis LeBlanc wrote:

> If there is no list, any other suggestions on current, clear, and
> complete information about setting up Apache 2.0 and Tomcat 4.1 to
> handle JSP pages would be greatly appreciated.

If you're talking about accessing your webapp in Tomcat via Apache
webport. You need to:

    1. Install www/mod_webapp-apache2.
    2. Tweak Tomcat's server.xml file and uncomment the "Apache-Connector"
       service. Replace the name="..." with the ServerName off your
       apache config.
    3. Tweak Apache's httpd.conf, and add:

            LoadModule webapp_module libexec/apache2/mod_webapp.so
            WebAppConnection warpConnection warp localhost:8008

If you have a VirtualHost entry, you can do something like:

    <VirtualHost *>
        ServerName virtual.mydomain.org:80
        DocumentRoot /webroot/virtual

        WebAppDeploy mywebapp warpConnection /tomcat/


The port-specifier is important. The webapp "mywebapp" will run
when you access:


Hope this helps.
Jonathan Chen <jonc at chen.org.nz>
                                Don't worry about avoiding temptation,
                            as you grow older, it starts avoiding you.

More information about the freebsd-questions mailing list