HAProxy community

Question about URL rewrites - HA Proxy 1.8


I have a newbie http URL rewrite question. When someone goes to http://oms.mydomain.com or to http://oms (and mydomain.com is automatically added as a suffix), I need it instead to go to http://omsproduction.mydomain.com:5500/OMSURL but in the browser in the address bar, it should show http://oms.mydomain.com:5500/OMSURL or http://oms:5500/OMSURL, respectively. Is that something HA Proxy can do and if yes, what would be the syntax?

Thanks a lot.