Hi everyone,

        I need a little assistance setting up a Reverse Proxy on Apache 2.0.59

        Situation
        --------------
        I have a server 172.16.0.141 which hosts our website.
        This website sources Adverts from another server 172.16.2.150

        I want to set up a proxy server on 172.16.0.141 so that the original 
website will link through to itself. to get these adverts.

        i.e. when I call 172.16.0.141/adverts this will proxy through to 
172.16.2.150/adverts

        The server 172.16.0.141 has an https certificate which we use for login
        The server 172.16.2.150 does not have https certificate.

        I have set up the following so far in my httpd.conf

                -------------
                ProxyRequests off
                ProxyPass /adverts/ http://172.16.0.141/adverts/

                <Location /adverts/>
                        ProxyPassReverse /
                </Location>
                -------------

                But when I hit 172.16.0.141/adverts/default.aspx I get the 
following error:
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /adverts/default.aspx.

Reason: Max-Forwards has reached zero - proxy loop?


        What am I doing wrong ?
        And how can I cater for https calls on the original web server, being 
routed through to the un-secure web server without a warning to the end user?

        Many thanks

Regards

Mark

Reply via email to