Tags

,

see this: http://fijiaaron.wordpress.com/2008/07/30/configuring-an-apache-virtualhost-to-use-tomcat/

and here’s a sample from my /etc/httpd/conf/vhosts/a-vhost-config.conf:

ProxyRequests Off

AddDefaultCharset Off
Order deny,allow
Allow from all

ProxyPass / ajp://localhost:8019/
ProxyPassReverse / ajp://localhost:8019/

Created /etc/httpd/conf/workers.properties:

# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8019