Re: [Pound Mailing List] Defining multiple URL patterns in a Service

Alan McGinlay - SICS <alanm-02ecni/[email protected]>
Newsgroups gmane.comp.web.pound.general
Organization SICS Swedish ICT
Message-ID <[email protected]>
On 2013-01-30 18:40, Andreas Hilboll wrote:
> Hi,
> 
> on my pound 2.6-2, I would like to define multiple URL patterns in a
> service. The manpage says it's possible:
> 
>    You may define multiple URL conditions per service.
> 
> However, in a service like this, none of the three patterns seems to
> kick in:
> 
>   Service
>     URL "^/services/ddEmissionService"
>     URL "^/services/bbEmissionService2"
>     URL "^/services/ccEmissionService3"
>     BackEnd

In order to redirect URL's to a specific backend I am using the 
following:

Service
   HeadRequire "^Host:\s*www.domain.com.*"
   URL "/~.*"
   BackEnd
     Add... etc

This will redirect any ~user directories (Apache UserDir's) to a 
specific backend.

For me this works very well, perhaps you have specified the URL 
matching after another service that also matches (so it never reaches 
your URL match).

/A

--
To unsubscribe send an email with subject unsubscribe to [email protected]
Please contact [email protected] for questions.
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.