You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Mladen Turk (JIRA)" <ji...@apache.org> on 2010/05/13 14:40:42 UTC

[jira] Commented: (TS-140) path handling should be relative when there is no leading '/' in the config.

    [ https://issues.apache.org/jira/browse/TS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867125#action_12867125 ] 

Mladen Turk commented on TS-140:
--------------------------------

I agree that there should be clear distinction between relative and absolute paths.
The current path compilation is spread across multiple files and it really makes hard to create
anything but default layout.

IMO one common function for calculating the path should be needed
(Something similar to Httpd's apr_server_root_relative) which
would return the absolute path if given in the config or calculate relative
to the configured proxy.config.root_path = @prefix@



> path handling should be relative when there is no leading '/' in the config.
> ----------------------------------------------------------------------------
>
>                 Key: TS-140
>                 URL: https://issues.apache.org/jira/browse/TS-140
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Config
>    Affects Versions: 2.0.0
>         Environment: All
>            Reporter: George Paul
>            Priority: Minor
>             Fix For: 2.1.1
>
>
> All handling of paths should be relative when there is no leading '/' specified in the config.
> For example in the case of a relative path set to 'etc/trafficserver', this will get prepended with ${prefix} (e.g. /usr/local/, with the final path being /usr/local/etc/trafficserver), while a full '/etc/trafficserver' will  not (i.e. the path stays /etc/trafficserver).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.