httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kuba <ma...@ics.muni.cz>
Subject Re: [users@httpd] apache as a front end to tomcat instance
Date Wed, 02 Feb 2011 12:51:50 GMT
Hi,

the forward from Apache to Tomcat for /portal using AJP is correct, however
the second forward using HTTP defined by the directive

ProxyPass / http://192.168.1.4/

is most likely wrong, as the main page from /portal links to CSS
http://research.openitup.in/library/skin/default/portal.css
which is not a CSS but some HTML page with embedded video.

Probably you want to replace that with

ProxyPass / ajp://192.168.1.4:8009/

Cheers

Martin

Dne 2.2.2011 11:35, James Godrej napsal(a):
> Hi please check this site
> http://research.openitup.in/portal
> I am referring to this one.
>
> 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
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno             Martin Kuba
Institute of Computer Science    email: makub@ics.muni.cz
Masaryk University             http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
--------------------------------------------------------------


Mime
View raw message