在 XAMPP 上安装 SVN - 无效命令 'DAV'
Installing SVN on XAMPP - Invalid command 'DAV'
我正尝试按照本指南在我的 XAMPP 上安装 subversion:
http://noobcode.blogspot.nl/2010/03/what-is-subversion-as-quoted-by.html
**Installed versions**
Subversion: 1.8.14
Latest XAMPP install: Apache 2.4.16
我卡在第 10 点:将以下内容添加到 apache httpd.conf 文件后启动 Apache:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn>
DAV svn
SVNParentPath "g:/svn"
AuthType Basic
AuthName "All my repositories"
AuthUserFile "g:/svn/passwords"
Require valid-user
</Location>
通过命令行重新启动 Apache 后,出现以下错误:
AH00526: Syntax error on line 564 of G:/xampp/apache/conf/httpd.conf:
Invalid command 'DAV', perhaps misspelled or defined by a module not included in the server configuration
我做错了什么?
查找句子我已经在这里找到了答案:
http://www.wandisco.com/svnforum/forum/opensource-subversion-forums/general-setup-and-troubleshooting/5724-dav-svn
It turns out the line
LoadModule dav_module modules/mod_dav.so
was still commented. My instructions didn't say anything about that
line (I guess the thought it would be uncommented by default). I
uncommented it and the service started up.
Thanks for the assist.
感谢您的阅读:)
我正尝试按照本指南在我的 XAMPP 上安装 subversion: http://noobcode.blogspot.nl/2010/03/what-is-subversion-as-quoted-by.html
**Installed versions**
Subversion: 1.8.14
Latest XAMPP install: Apache 2.4.16
我卡在第 10 点:将以下内容添加到 apache httpd.conf 文件后启动 Apache:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn>
DAV svn
SVNParentPath "g:/svn"
AuthType Basic
AuthName "All my repositories"
AuthUserFile "g:/svn/passwords"
Require valid-user
</Location>
通过命令行重新启动 Apache 后,出现以下错误:
AH00526: Syntax error on line 564 of G:/xampp/apache/conf/httpd.conf:
Invalid command 'DAV', perhaps misspelled or defined by a module not included in the server configuration
我做错了什么?
查找句子我已经在这里找到了答案: http://www.wandisco.com/svnforum/forum/opensource-subversion-forums/general-setup-and-troubleshooting/5724-dav-svn
It turns out the line
LoadModule dav_module modules/mod_dav.so
was still commented. My instructions didn't say anything about that line (I guess the thought it would be uncommented by default). I uncommented it and the service started up.
Thanks for the assist.
感谢您的阅读:)