SVN Repo gives 404 not Found

前端 未结 2 1936
闹比i
闹比i 2021-01-25 05:11

I have installed svn, version 1.6.17 (r1128011) on to Ubuntu 12-04

I made my repo here:

$ sudo mkdir /home/2nd-disk/svn

Set up my /etc/

2条回答
  •  旧时难觅i
    2021-01-25 05:35

    I have this problem sovled just now . prep. I set up my /etc/apache2/http.conf

    LoadModule dav_module         /usr/lib/apache2/mod_dav.so
    LoadModule dav_svn_module     /usr/lib/apache2/mod_dav_svn.so
    LoadModule authz_svn_module   /usr/lib/apache2/mod_authz_svn.so
    

    It works for a period without 404 while I then try to browse to http://mydomain.com/svn/test_repo .But after I reboot my Linux, I get a 404 not found. Try to add the lines to /etc/apache2/conf.d.subversion.conf

    LoadModule dav_module         /usr/lib/apache2/mod_dav.so
    LoadModule dav_svn_module     /usr/lib/apache2/mod_dav_svn.so
    LoadModule authz_svn_module   /usr/lib/apache2/mod_authz_svn.so
    

    My SVN works well now! I wish these recommendations can help you.

提交回复
热议问题