anchor.diff:  %% When run from cluster_run doc-root may be a list of directories.
   %% DocRoot has to be a list in order for mochiweb to be able to guess
   %% the MIME type.
  -decode_docroot(Roots) ->
  +decode_docroots(Roots) ->
       Prefix = path_config:component_path(?DOCROOTS_DIR),
  -    decode_docroot(Prefix, Roots).
  -
  -decode_docroot(Prefix, Roots) when is_list(Roots) ->
  -    {multiple_roots, [decode_docroot(Prefix, Root) || Root <- Roots]};
  -decode_docroot(Prefix, Root) ->
  +    decode_docroots(Prefix, Roots).
  +
  +decode_docroots(Prefix, Roots) when is_list(Roots) ->
  +    [create_docroot(Prefix, Root) || Root <- Roots];
  +decode_docroots(Prefix, Root) ->
  +    [create_docroot(Prefix, Root)].
  +
  +create_docroot(Prefix, Root) ->
       filename:join(Prefix, binary_to_list(Root)).
   
   decode_request_headers_filter(undefined) ->
  
positive.code:             [#plugin{name = ServiceName,
                       proxy_strategy = ProxyStrategy,
                       rest_api_prefix = RestApiPrefix,
                       doc_root = DocRoot,
                       request_headers_filter = ReqHdrFilter} | Plugins];
          {true, #plugin{}} ->
              ?log_info("Pluggable UI specification for ~p not loaded, "
  
negative.code: %%% =============================================================
  %%%
  maybe_serve_file(RestPrefix, Plugins, Req, Path) ->
      case doc_roots(RestPrefix, Plugins) of
          DocRoots when is_list(DocRoots) ->
              serve_file_multiple_roots(Req, Path, DocRoots);
          undefined ->
              menelaus_util:reply_not_found(Req)
      end.
  
  doc_roots(RestPrefix, Plugins) ->
      case find_plugin_by_prefix(RestPrefix, Plugins) of
          #plugin{doc_roots = DocRoots} ->
              DocRoots;
          false ->
              undefined
      end.
  