then create a new virtualhost with the \
ProxyPass /portal/ ajp://192.168.1.4:8009/
=========================
BJ Freeman
Strategic Power Office with Supplier Automation
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
James Godrej sent the following on 2/2/2011 9:28 AM:
Chat Y! messenger: bjfr33man
----- Original Message ----
From: "bf...@free-man.net"<bf...@free-man.net>
To: users@httpd.apache.org
Sent: Wed, 2 February, 2011 7:44:08 PM
Subject: Re: [users@httpd] apache as a front end to tomcat instance
I am using Centos 5 with apache 3.2.2
/etc/httpd/config.d/proxy_ajp.conf
in the virtualhost
ProxyPass /portal/ ajp://192.168.1.4:8009/
remove
ProxyPass / http://192.168.1.4/
ProxyPassReverse / http://192.168.1.4/
you need to add
> ServerName research.openitup.in:80
I can not remove the above two lines as you said because if I remove
ProxyPass / http://192.168.1.4/
ProxyPassReverse / http://192.168.1.4/
the the site research.openitup.in will not be accessible as this is also coming
from behind the proxy.
I had to proxy it because there are a lot of other apache virtual hosts running
on this site.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See<URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org