anchor.diff:                                   ns_audit_cfg:set_global(Values),
                                    reply(Req, 200)
                            end, Req, validate_settings_audit(Args)).
  +
  +nth_path_tail(Path, N) when N > 0 ->
  +    nth_path_tail(path_tail(Path), N-1);
  +nth_path_tail(Path, 0) ->
  +    Path.
  +
  +path_tail([$/|[$/|_] = Path]) ->
  +    path_tail(Path);
  +path_tail([$/|Path]) ->
  +    Path;
  +path_tail([_|Rest]) ->
  +    path_tail(Rest).
  +
  +drop_rest_prefix(Path) ->
  +    [$/ | path_tail(Path)].
  
positive.code:                                                 end};
                           ["diag", "eval"] -> {auth, fun handle_diag_eval/1};
                           ["couchBase" | _] -> {auth, fun capi_http_proxy:handle_request/1};
                           _ ->
                               ?MENELAUS_WEB_LOG(0001, "Invalid post received: ~p", [Req]),
                               {done, reply_not_found(Req)}
                       end;
                   'DELETE' ->
                       case PathTokens of
  
negative.code: 
  start_link(Options) ->
      {AppRoot, Options1} = get_option(approot, Options),
      Plugins = menelaus_pluggable_ui:find_plugins(),
      Loop = fun (Req) ->
                     ?MODULE:loop(Req, {AppRoot, Plugins})
             end,
      case mochiweb_http:start_link([{loop, Loop} | Options1]) of
          {ok, Pid} -> {ok, Pid};
  