httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aireana <aireanalis...@gmail.com>
Subject Re: [users@httpd] ProxyPassReverse doesn't work...,Help!
Date Tue, 11 Sep 2007 13:40:57 GMT



aireana wrote:
> 
> Apache 2.2.4 on Fedora core 6
> I try to run JVM server on port 7979
> it is on local machine at http://localhost:7979
> There are http://localhost:7979/profile/login  and others.
> 
> Try to use ProxyPassReverse but it doesn't work!!
> Here , my configuration.
> 
> ************
> httpd.conf  
> ************
> <IfModule mod_proxy.c>
> ProxyRequests Off
> <Proxy *>
>     Order deny,allow
>     Allow from all
> </Proxy>
> </IfModule>
> 
> 
> ************
> mingle.conf
> ************
> ProxyPreserveHost On
> ProxyPass /mingle/ http://localhost:7979/
> ProxyPassReverse /mingle/ http://localhost:7979/
> 
> ###At 7979 is running JVM server.
> ### It should work with configuration above, but it doesnt'.
> ###So I add Location to make sure. But no difference. T T
> 
> <Location "mingle" >
>     ProxyPass http://localhost:7979/
>     ProxyPassReverse http://localhost:7979/
> </Location>
> 
> |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> ||Any suggestion. Thanks for your time.||
> |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> 
> Ps. The ProxyPass works well.
> 
> 


Sorry, ProxyRequests is Off , actually.I typed in rush.

ProxyPass works. I want to map http://localhost:7979/ and all under it to
"/mingle".

As ProxyPassReverse is On, when I was route to somewhere from "/mingle" (for
example, from "http://localhost:7979" to
"http://localhost:7979/profile/login" ), it should change to
"mingle/profile/login" instead, right?
But I doesn't. It route me to "/profile/login" which happen to be 404.

~'"*Thank you very much.*"'~

-- 
View this message in context: http://www.nabble.com/ProxyPassReverse-doesn%27t-work...%2CHelp%21-tf4420517.html#a12614972
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


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