On 1/26/13 4:23 PM, Jan-Frode Myklebust wrote:
On Tue, Jan 22, 2013 at 11:27 PM, McClimont, Aaron (SACE Board)

   I came across this, which may help.  Add this as the last entry in the 
remap.conf configuration:

map / http://kitchensink.example.com


Thanks for the suggestion and pointer, but I just tested this, and
this map also overrides my earlier redirects:

I.e. for:

    redirect        http://www.example.com/            https://www.example.com/
    map            https://www.example.com/           http://backend1.internal/
    map      /     http://backend2.internal




yes, it's lame, and we have a long oustanding bug on the issue. One thing that can work is to use the regex_remap plugin, and only have one remap rule per domain. From within the regex_remap rule, you can do redirects or "mapping" as you fit, based on first come first serve regex rules.

-- Leif

Reply via email to