On 4/2/2010 5:43 PM, Anne Moore wrote:
Hi All

Thanks for many of you, I was able to get my SSL working. Unfortunately, I
have one final issue I can't seem to resolve.

My frontend server (pound) must forward all requests back to two web
servers. However, the web servers have an application called "myapp" on them
that the users must be forwarded to.

So, my setup is like this:

https://mypoundserver.helpme.org

Must forward requests to the backend web servers, to this URL:

https://mywebserver1.helpme.org/myapp
https://mywebserver2.helpme.org/myapp

However, i can't seem to get my pound server to forward all requests to the
"myapp" portion of the web servers URL.

Any idea how I can do that? (I tried the redirect in the pound.cfg, but it
didn't work.)

Thank you for any help you're willing to provide.

Pound doesn't support any sort of URL transformation such that it would transparently do the replacement you want. Your best bet is to check the URL, and if it matches "^/myapp", forward to the backends, otherwise, redirect to /myapp.

Pseudocode:

ListenHTTP
    ...
        Service
                URL "^/myapp"
                Backend
                        Address mybackend
                        Port ...
                end
        End
        Service
                Redirect "http://myserver/myapp";
        End
End

Regards,
--
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to