You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chanita Siridechkun <ai...@gmail.com> on 2007/09/11 08:12:05 UTC

[users@httpd] ProxyPassReverse doesn't work, please help figure out!!

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

Re: [users@httpd] ProxyPassReverse doesn't work, please help figure out!!

Posted by Chanita Siridechkun <ai...@gmail.com>.
Dear Joshua,

~*'"'* Thank you so much. *'"'*~
I have added more detail on:
http://www.nabble.com/ProxyPassReverse-doesn%27t-work...%2CHelp%21-tf4420517.html#a12614974


thanks again.



2007/9/11, Joshua Slive <jo...@slive.ca>:
>
> On 9/11/07, Chanita Siridechkun <ai...@gmail.com> 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 On
>
> Why is that On? Major security hole there!
>
> > 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'.
>
> What does that mean? What do you expect it to do? What does it actually
> do?
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>
>

Re: [users@httpd] ProxyPassReverse doesn't work, please help figure out!!

Posted by Joshua Slive <jo...@slive.ca>.
On 9/11/07, Chanita Siridechkun <ai...@gmail.com> 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 On

Why is that On? Major security hole there!

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

What does that mean? What do you expect it to do? What does it actually do?

Joshua.

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