Re: ProxyPassReverse doesn't work...,Help!

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

 





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#a12614974
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@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