You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/09/17 22:54:43 UTC

[GitHub] smalenfant commented on issue #2820: Traffic Portal should allow directories in Origin Base Server URL field

smalenfant commented on issue #2820: Traffic Portal should allow directories in Origin Base Server URL field
URL: https://github.com/apache/trafficcontrol/issues/2820#issuecomment-422197890
 
 
   @rawlinp @dneuman64 Traffic Ops let you use a path. It's actually helpful if you don't need to expose anything else and make it work like `chroot`.
   
   I'm actually using this feature today in the lab. Haven't been using in production yet although it came up today in a discussion. I guess it worked, but maybe not by design. You might find this is a feature offered by other CDNs (And I recall one we were using before that let us do that.
   
   Here's a masked example of a line in my lab:
   
   ```
   map     http://edge.test.x.coxlab.net/     http://origin.rd.at.cox.net/path/ @plugin=header_rewrite.so @pparam=dscp/set_dscp_0.config
   ```
   
   Not too sure about the intention there. The documentation does state the following:
   
   ```
   The Origin Server’s base URL which includes the protocol (http or https). Example: http://movies.origin.com Must be a domain only, no directories or IP addresses
   ```
   
   This is fully allowed by Traffic Server: https://docs.trafficserver.apache.org/en/6.1.x/admin-guide/files/remap.config.en.html

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services