|
今天把apache装上之后,出现如下错误:
Starting httpd2 (prefork) Syntax error on line 7 of /etc/apache2/conf.d/usvn.conf:
Invalid command 'DAV', perhaps misspelled or defined by a module not included in the server configuration
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
我的/etc/apache2/conf.d/usvn.conf文件如下:
<Directory /srv/www/htdocs/usvn>
Options +FollowSymlinks
AllowOverride FileInfo Limit
</Directory>
<Location /srv/www/htdocs/usvn/svn/>
DAV svn
Require valid-user
SVNParentPath /srv/www/htdocs/usvn/files/svn
SVNListParentPath off
AuthType Basic
AuthName "USVN"
AuthUserFile /srv/www/htdocs/usvn/files/htpasswd
AuthzSVNAccessFile /srv/www/htdocs/usvn/files/authz
</Location>
请大家帮我看一下,该怎么解决。 |
|