/ Zope / Apsis / Pound Mailing List / Archive / 2011 / 2011-03 / URL match to go to a Backend - how?

[ << ] [ >> ]

[ Using Private Key for Client Auth with Pound / ... ] [ e500 errors within a generally well running ... ]

URL match to go to a Backend - how?
Pound Rproxy <poundrproxy(at)yahoo.com>
2011-03-14 04:27:51 [ FULL ]
Hi,

I've just got https working for one backend (141),  and I'm now trying to get
it 
working for an extra backend (142) - but by matching URL.
The end result I need is for:
                                             https:192.168.1.140/myapp 
to show content from:
                                             192.168.1.142:8083/myapp

The following config isn't doing this:

ListenHTTPS
        Address  192.168.1.140
                Port    443
                Cert "/usr/etc/server.pem"
                ClientCert 2 2
                CAlist  "/usr/etc/my_CA_list.pem"
                VerifyList "/usr/etc/my_CA.pem"
                LogLevel 2

    Service
         BackEnd
                Address 192.168.1.141
                Port 8080
        End
    End
    
    Service
        URL "^/myapp"
        BackEnd
                Address 192.168.1.142
                Port 8083
        End
    End    
    
End


I've tried also tried:
       URL "^/myapp.*"
and
       URL "/myapp.*"


There is content in 192.168.1.142:8083/myapp, so I'm not missing that part.
But it's likely I'm missing something that's very obvious, and I'm really 
excited about this feature of Pound and need it.

Please show me where I am going wrong or how to better test to find where I am 
going wrong.

Thanks
Attachments:  
text.html text/html 3364 Bytes

Re: [Pound Mailing List] URL match to go to a Backend - how?
Pound Rproxy <poundrproxy(at)yahoo.com>
2011-03-14 08:08:24 [ FULL ]
Anyone home? (Bump =D

I've looked at the man pages and found examples in the archive but I can't get
a 
simple URL match to work for the second backend.

Please see my first post:



[...]
Attachments:  
text.html text/html 3628 Bytes

Re: [Pound Mailing List] URL match to go to a Backend - how?
Pound Rproxy <poundrproxy(at)yahoo.com>
2011-03-14 09:34:56 [ FULL ]
Sorry to bug everyone - I worked out solution myself. It pays to test and test 
and test... =)



[...]
Attachments:  
text.html text/html 4432 Bytes

MailBoxer