Hello,

Got error 502 from httpd
[Tue Sep 11 ] [error] [client 192.168.50.89] proxy: error reading status
line from remote server 192.168.50.89
[Tue Sep 11 ] [error] [client 192.168.50.89] proxy: error reading from
remote server returned by /mingle/

My current configuration:
******************
httpd.conf
******************
ServerName 192.168.50.89
UseCanonicalName On

*****************
mingle.conf
*****************
ProxyPass /mingle/ http://192.168.50.89:7979/
ProxyPassReverse /mingle/ http://192.168.50.89:7979/

<Location /mingle/ >
    ProxyPass http://192.168.50.89:7979/
    ProxyPassReverse http://192.168.50.89:7979/
</Location>

Thank you  * Thank you
P.s. ( T  T )

2007/9/11, Joshua Slive <[EMAIL PROTECTED]>:
>
> On 9/11/07, aireana <[EMAIL PROTECTED]> wrote:
>
> > > ProxyPreserveHost On
> > > ProxyPass /mingle/ http://localhost:7979/
> > > ProxyPassReverse /mingle/ http://localhost:7979/
>
> > 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.
>
> I don't know what you mean by "route to somewhere". ProxyPassReverse
> will ONLY modify Location headers from your back-end server. These are
> typically generated by an "HTTP redirect".
>
> Also, using ProxyPreserveHost and ProxyPassReverse in combination is
> usually a mistake. You probably want to get rid of the
> ProxyPreserveHost and use the correct hostname in place of localhost
> in the ProxyPassReverse directive. Otherwise, the redirects coming
> back from your back-end will not be to "localhost" and therefore will
> not be caught by the ProxyPassReverse.
>
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to