anchor.diff:                                            "" ->
                                                 "/";
                                             _ ->
  -                                              "/" ++ join(PreSegments,"/") ++ 
  -                                                  "/"
  +                                              "/" ++
  +                                                  yaws:join_sep(PreSegments,"/")
  +                                                  ++ "/"
                                         end
                       end,
                       PathI = case PostSegments of
                                   [] ->
                                       "";
                                   _ ->
  -                                    "/" ++ join(PostSegments,"/")
  +                                    "/" ++ yaws:join_sep(PostSegments,"/")
                               end,
                       %%absence of RevFile tells us there was a trailing slash.
                       PathInf = case RevFile of
  
positive.code:     deliver_xxx(CliSock, Req, 403).        % Forbidden
  
  deliver_405(CliSock, Req, Methods) ->
      Methods_msg = lists:flatten(["<p>This resource allows ",
                                   join([atom_to_list(M) || M <- Methods], ", "),
                                   "</p>"]),
      deliver_xxx(CliSock, Req, 405, Methods_msg).
  
  deliver_416(CliSock, _Req, Tot) ->
  
negative.code:     io_lib:format("<pre> ~n~p~n </pre>~n", [R]).
  
  
  %%mappath/3    (virtual-path to physical-path)
  %%- this returns physical path a URI would map to, taking into consideration 
  %% vdirs and assuming each path segment of the URI represents a folder 
  