httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Godrej <jamesgod...@yahoo.in>
Subject Re: [users@httpd] apache as a front end to tomcat instance
Date Wed, 02 Feb 2011 17:28:12 GMT




----- Original Message ----
From: "bfree@free-man.net" <bfree@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message