Re: apache as a front end to tomcat instance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






----- 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 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux