VisualSVN Server 3.2 - Unexpected HTTP Status 405

前端 未结 2 1531
臣服心动
臣服心动 2021-01-02 16:11

I installed VisualSVN Server on my machine for source control and when I try to access it via the Repo Browser I get the error:

 Unexpected HTTP Status 405 \         


        
相关标签:
2条回答
  • 2021-01-02 16:47

    I think you are trying to access repo trough Tortoise using web browser URL.

    This thing works fine in browser, but will return 405 in Tortoise:

    https://path-to-svn-server/!/%23WEB/view/head/ProjectA
    

    Try this as repo URL in Tortoise (assuming WEB is repo name, and ProjectA is subfolder):

    https://path-to-svn-server/svn/WEB/ProjectA
    
    0 讨论(0)
  • 2021-01-02 16:54

    VisualSVN Server 3.2 has new HTML5-powered web interface for Subversion repositories.

    The URL you see in address bar of a web browser is specific to the new web interface, it has special format and arguments that Subversion clients do not understand. In other words, the URL you see in web browser's address (URL) bar can't be passed to Subversion client as is. If you copy-paste the URL to Subversion client (as you did) you will get 405 Method Not Allowed error.

    To get the URL to paste to a client, you can click on a "Checkout" button at the top right corner of the web interface (third from the right), so the URL you should enter in a Subversion client should look like https://svn.example.com/svn/MyProject/trunk.

    VisualSVN Server web interface checkout button

    0 讨论(0)
提交回复
热议问题