Re: [Pound Mailing List] multiple URLs configured on Pound not working

Scott McKeown <scott-Oteo70RhwZ77w/[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
Hi Q.Xie,

I'm guessing that you are using Pound to terminate your SSL front end and
your back end servers are listening on normal HTTP if this is the case I
would have a look at using Pound as your front end still but pass the
decrypted traffic into HAProxy which with its ACL rules you should be able
to achieve what you want.


~Scott



On 1 July 2013 08:28, Leo <[email protected]> wrote:

>  Hello Q.Xie,
>
> we have had this discussion several times on the list. Robert Segall has
> already explained why multiple URLs are ANDed:
>
> "There is a reason for it: it is easy to write an OR regular expression,
> but AND expressions can be more difficult."
> (
> http://www.apsis.ch/pound/pound_list/archive/2013/2013-05/1367581651000/index_html#1367583174000
> )
>
> If you want a different behaviour take a look at Joe Gooch's Pound
> patches. As far as I know he has written a patch to use a "URLMatch"
> directive with "AND"/"OR" value ... (https://github.com/goochjj/pound/)
>
> Hope this helps!
>
> Leo
>
>
>  On 06/29/2013 12:32 AM, Qingshan Xie wrote:
>
> I realized it, the Multiple URLs are ANDed not ORed relation in Pound.
> Not sure why Multiple URLs are designed as AND relation not OR?  At least
> from my experience OR relation should be available in Pound in order to
> split traffics.  For example a group applications have URLs /A, /B, /C,
> ....., and another group of apps have URLs /x, /y, /z, ......., but they
> share the same virtual.   it is very difficulty to manage thousands apps in
> a big company to use regx in one URL, especially this URLs may change
> frequently.    If Pound can handle multiple URLs in OR relation.  That will
> make this job much easier.
>
> Thanks, Q.Xie
>
>
>   ------------------------------
>  *From:* Qingshan Xie <xieq_49-/[email protected]> <xieq_49-/[email protected]>
> *To:* "[email protected]" <[email protected]> <[email protected]> <[email protected]>
> *Sent:* Friday, June 28, 2013 11:53 AM
> *Subject:* [Pound Mailing List] multiple URLs configured on Pound not
> working
>
>  Hello, expert,
>
>     According to manual, Pound should be able to configure multiple URLs.
> However, it failed when I tried to configure two URLs as below in service
> showed as below, but it worked if I remove on URL.
> ......
>  Service
>             URL "/ccivm0"
>             URL "/ccivm4"
>             BackEnd
>                 Address xxx.xx.x.xxx
>                 Port    84
>             End
>  End
>  ......
>
>  am I configured it wrongly?  what is the right way to configure it?
>
>  Thanks, Q.Xie
>
>
>
>


-- 
With Kind Regards.

Scott McKeown
Loadbalancer.org
http://www.loadbalancer.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.