httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bfree@free-man.net" <bf...@free-man.net>
Subject Re: [users@httpd] apache as a front end to tomcat instance
Date Wed, 02 Feb 2011 14:14:08 GMT
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




James Godrej sent the following on 2/2/2011 2:35 AM:


=========================
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

Chat  Y! messenger: bjfr33man

>
>
>
>
> ----- Original Message ----
> From: "bfree@free-man.net"<bfree@free-man.net>
> To: users@httpd.apache.org
> Sent: Wed, 2 February, 2011 10:36:07 AM
> Subject: Re: [users@httpd] apache as a front end to tomcat instance
>
> assuming your apache website can be seen from the internet, meaning you
> have a domain the the dns is directed to apache and you have setup
> apache to deal with the iP of the domain,  say you don't have ajp setup.
> I have many instances of tomcat that are reached through apache.
> if you find the ajp in the conf, mine is in proxy_ajp.conf
> it has
> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
> ProxyPass /java/ ajp://localhost:8009/
>
>
>
> Hi please check this site
> http://research.openitup.in/portal
> I am referring to this one.
>
> There are number of other things running on it
>
> http://research.openitup.in/atutor
> http://research.openitup.in/dokeos
> http://research.openitup.in/docebolms
> http://research.openitup.in/efront
> http://research.openitup.in/ilias
>
> also same server where I have configured Apache reverse proxy following 2 more
> sites
>
> http://software.openitup.in
> http://software.openitup.in/mingle
> http://social.openitup.in
>
> are also running.
> So I have many apache vhsots running this is the latest configuration of
> research.openitup.in
>
> <VirtualHost *:80>
>
>
> ServerName research.openitup.in
> ProxyRequests off
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
>
> ProxyPreserveHost Off
>
> ProxyPass /portal ajp://192.168.1.4:8009/portal
> ProxyPassReverse /portal ajp://192.168.1.4:8009/portal
>
>
> ProxyPass / http://192.168.1.4/
> ProxyPassReverse / http://192.168.1.4/
>
> </VirtualHost>
>
> Let me know what you think can be wrong in it.
> Here is one more forum where I asked this question
> http://www.linuxquestions.org/questions/showthread.php?p=4245596&posted=1#post4245596
>
> may be if some one replies back to me it might help them  to understand my
> problem.
>
>
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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