On Jun 11, 2014, at 9:15 AM, Ram Chander <[email protected]> wrote: > Hi, > > I am trying to have a remap to choose origin based on filetype. > > Basically want to send all css files to server1 and default to server2. But > below doesnt work. Can someone please help ? > > regex_map http://(.*)/*.css$ http://server1 > map / http://server2
regex_map only matches on the server name. You need to use the regex_remap plugin to match against the whole URL https://docs.trafficserver.apache.org/en/latest/reference/plugins/regex_remap.en.html > > > Regards, > Ram > > >
