Welcome! Log In Create A New Profile

Advanced

Multiple MAP implementation issue

August 21, 2020 11:46AM
I have this map statements

=== This works well ======

map http_header1 var1 {
default "abc"
1a "def"
1b "ghi"

}

map http_header2 var2 {
default "123"
2a "445"
2b "678"
}

map http_header3 finalvar {
default "xxxx"
aaaa $var1
bbbb $var2
}

==========


Now I need to do regex on http_header3..

if I change the last map statement to..

map http_header3 finalvar {
default "xxxx"
~aaaa $var1
~bbbb $var2
}


This causes ERROR too much redirects.. so im confused...

Any input is appreciated.
Subject Author Posted

Multiple MAP implementation issue

brutuz August 21, 2020 11:46AM

Re: Multiple MAP implementation issue

Maxim Dounin August 21, 2020 05:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready