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: "bfree@xxxxxxxxxxxx"<bfree@xxxxxxxxxxxx> To: users@xxxxxxxxxxxxxxxx Sent: Wed, 2 February, 2011 7:44:08 PM Subject: Re: apache as a front end to tomcat instanceI am using Centos 5 with apache 3.2.2 /etc/httpd/config.d/proxy_ajp.confin 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx