我以这种方式创建了我的存储库:
sudo svnadmin create /svn
重新启动 apache 后,我收到此错误:
Syntax error on line 16 of /etc/apache2/mods-enabled/dav_svn.conf: DAV not allowed here
# dav_svn.conf - Example Subversion/Apache configuration
#
# For details and further options see the Apache user manual and
# the Subversion book.
#
# NOTE: for a setup with multiple vhosts, you will want to do this
# configuration in /etc/apache2/sites-available/*, not here.
# <Location URL> ... </Location>
# URL controls how the repository appears to the outside world.
# In this example clients access the repository as http://hostname/svn/
# Note, a literal /svn should NOT exist in your document root.
#<Location /svn>
# Uncomment this to enable the repository
DAV svn
# Set this to the path to your repository
SVNPath /svn
任何的想法?
问候
哈维
最佳答案
<Location /svn>
被注释掉,删除 #
在它面前。
关于svn - 安装 svn : error after restarting apache,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4153622/