You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2015/05/19 17:42:00 UTC

[jira] [Commented] (MESOS-2748) /help generated links point to wrong URLs

    [ https://issues.apache.org/jira/browse/MESOS-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550642#comment-14550642 ] 

haosdent commented on MESOS-2748:
---------------------------------

Hi, [~marco-mesos]. I am sorry for could not got your idea here. Do you mean "/help" endpoint is a absolute path and could not work when user want to show as "/mesos/help" after reverse proxy? In nginx, could add a rewrite rule to solve this problem.  

> /help generated links point to wrong URLs
> -----------------------------------------
>
>                 Key: MESOS-2748
>                 URL: https://issues.apache.org/jira/browse/MESOS-2748
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.22.1
>            Reporter: Marco Massenzio
>            Priority: Minor
>
> As reported by Michael Lunøe <ml...@mesosphere.io> (see also MESOS-329 and MESOS-913 for background):
> {quote}
> In {{mesos/3rdparty/libprocess/src/help.cpp}} a markdown file is created, which is then converted to html through a javascript library 
> All endpoints point to {{/help/...}}, they need to work dynamically for reverse proxy to do its thing. {{/mesos/help}} works, and displays the endpoints, but they each need to go to their respective {{/mesos/help/...}} endpoint. 
> Note that this needs to work both for master, and for slaves. I think the route to slaves help is something like this: {{/mesos/slaves/20150518-210216-1695027628-5050-1366-S0/help}}, but please double check this.
> {quote}
> The fix appears to be not too complex (as it would require to simply manipulate the generated URL) but a quick skim of the code would suggest that something more substantial may be desirable too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)