So for your example you would enter 2 delvieryservices with the same host_regex (which would be possible because you drop the unique requirement on it), different path prefixes and have different settings for each?
I think I get that.... ? I _think_ this would work without changing Traffic Router (it just tags on the path in the redirect)... 3.3 in the doc says Traffic Router will be changed as well, but I don't see that in the PR? Also, going back to my initial question - did you consider implementing this with PATH_REGEXP and regex_remap? Rgds, JvD > On Dec 1, 2016, at 07:35, Jifeng Yang (jifyang) <[email protected]> wrote: > > Hi JvD, > > The difference between the two is: the former doesn’t serve the content under > the paths other than “/vod/” and “/live/”. > > For example, for the request > “http://traffic-server.sports.ipcdn.com/path/file”, the former doesn’t serve > it while the latter does serve it. > > Regarding the use case, this is useful if: > > Under the same domain name, the contents under some paths are set by one > configuration and the contents under some other paths are set by another > configuration. > > For example, > > Different “Regex remap expression” can be configured for > “http://traffic-server.sports.ipcdn.com/vod/” and > “http://traffic-server.sports.ipcdn.com/live/”. > > Different traffic caches can be assigned for > “http://traffic-server.sports.ipcdn.com/vod/” and > “http://traffic-server.sports.ipcdn.com/live/”. > > Some different configuration items become possible because separated delivery > services. > > Thanks, > Jifeng > > > On 30/11/2016, 23:23, "Jan van Doorn" <[email protected]> wrote: > > Hi Jifeng, > > I'm still confused, bear with me please. > > The Google doc example has > > map http://traffic-server.sports.ipcdn.com/vod/ > http://origin.server.com/vod/ > map http://traffic-server.sports.ipcdn.com/live/ > http://origin.server.com/live/ > > > But, isn't that the same as > > map http://traffic-server.sports.ipcdn.com/ > http://origin.server.com/ > > ? > > If you want to send the /live to RAM and the /vod to disk, they can't be > in the same deliveryservice table entry, since all those type if things are > set there? > > Can you elaborate on the use case you are trying to solve? > > Rgds, > JvD > >> On Nov 30, 2016, at 04:16, Jifeng Yang (jifyang) <[email protected]> wrote: >> >> Hi, >> >> Different delivery services can be configured with different domain names >> now. In some cases, different delivery services with same domain name and >> different path prefixes are needed. These delivery services can have >> different configurations. >> >> The problem and a solution are described in the document >> https://docs.google.com/document/d/19-TZ6ODla_vdiYqZajbpRiOpLvpbJxil1SvIm44zb-0/edit?usp=sharing. >> >> The issue and PR for this: >> Issue: https://issues.apache.org/jira/browse/TC-55?jql=project%20%3D%20TC >> PR: https://github.com/apache/incubator-trafficcontrol/pull/108 >> >> Thanks, >> Jifeng >> > > >
