5.2. Setting up Apache front-end

It may be necessary to use the HTTP server as a front-end for Tomcat. For example, you may want to keep more than one application server on the same host, and/or you want to access these app servers with the separate DNS names, without adding a port to the URL.

There are two methods that allow you to "glue" Apache HTTP Daemon and Tomcat application server:

Base configuration for Apache

First, you need to configure a new virtual host in Apache HTTPD for the application server. This is the simplest example of a virtual host:

<VirtualHost *:80>
  ServerName      Enter your server DNS name here
</VirtualHost>

You can find more information on the Apache HTTP daemon host here.

You can connect via 2 ways:

See also

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus