Hi,

I'd like to set up a service with a URL pattern matching only if the
path does *not* start with one of a list of words.

The following doesn't work:

    Service
      HeadRequire "Host: .*www.mydomain.com.*"
      URL ! "^/project1|^/project2/|^/portal"
      RedirectAppend "https://www.mydomain.com/portal";
    End


I also tried this pattern:

    URL "^(?!.*(?:project1|project2|portal)).*"

but also it doesn't work. As you can see, I'm not good with regular
expressions in pound ... any help is greatly appreciated!

Cheers, Andreas.

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

Reply via email to