HAProxt Rewrite Query String


#1

I have list of numbers which needs to be replaced with the corresponding mapped number. Sample map file is below:
From To
5.3.0 5.0.1
3.3.0 3.0.1
4.3.0 4.0.1

How I can replace number from the mapped file. Example:
from "http://www.haproxy.cm/dv=1234&cv=5.3.0"
to “http://www.haproxy.cm/dv=1234&cv=5.0.1

from "http://www.haproxy.cm/dv=1234&cv=3.3.0"
to “http://www.haproxy.cm/dv=1234&cv=3.0.1