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 <[email protected]>
> *To:* "[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
>
>

Reply via email to