Nigel Metheringham edited this page Nov 29, 2012 · 2 revisions

Q0307

Question

The route_list setting ^foo$:^bar$ $domain in a manualroute router does not work.

Answer

The first thing in a route_list item is a single pattern, not a list of patterns. You need to write that as ^(foo|bar)$ $domain. Alternatively, you could use several items and write

route_list = foo $domain; bar $domain

Note the semicolon separator. This is because the second thing in each item can itself be a colon-separated list of hosts.


Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.