gpt4 book ai didi

svn - 安装 svn : error after restarting apache

转载 作者:行者123 更新时间:2023-12-03 18:14:03 26 4
gpt4 key购买 nike

我以这种方式创建了我的存储库:

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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com