配置svn时遇到错误 Invalid command 'DAV', (解决)

原创 2006年05月25日 12:55:00

LoadModule dav_module modules/mod_dav.so

这一行的注释去掉,原因如下:

You aren't loading mod_dav. mod_dav_svn just implements the back-end, you
still need to have mod_dav, which implements the dav protocol.

Ryan

On Sat, 5 Apr 2003, Robo wrote:

> Just ran apache from the command line, and got the following error message:
>
> Invalid command 'DAV', perhaps mis-spelled or defined by a module not
> included i
> n the server configuration
>
> Hope that helps pointing down the problem, thanks
>
> Robo
>
> ----- Original Message -----
> From: <rbb@rkbloom.net>
> To: "Dale Hirt" <dale@sbcltd.com>
> Cc: "'Robo'" <robo@vangof.com>; "Subversion Development Mailing List
> (E-mail)" <dev@subversion.tigris.org>
> Sent: Saturday, April 05, 2003 5:15 AM
> Subject: RE: Can't get SVNPath to work on Apache2
>
>
> >
> >
> > Unfortunately, on Windows errors like this often don't show up in the
> > error log. The problem comes from when Apache opens the log file. If
> > there isn't anything in the log file, then just run Apache from the
> > command line. That way, the error wil show up in the command window.
> > Once Apache runs from the command line, it will also run from the Services
> > window.
> >
> > Ryan
> >
> > On Fri, 4 Apr 2003, Dale Hirt wrote:
> >
> > > My first recommendation would be to check the Apache error log. It
> should
> > > have an error message saying what was wrong.
> > >
> > > > -----Original Message-----
> > > > From: Robo [mailto:robo555@gmx.net]
> > > > Sent: Thursday, April 03, 2003 10:44 PM
> > > > To: dev@subversion.tigris.org
> > > > Subject: Can't get SVNPath to work on Apache2
> > > >
> > > >
> > > > I'm running Subversion on WinXP, with the following config:
> > > >
> > > > Apache/2.0.44 (Win32) PHP/4.3.0 SVN/0.20.0
> > > >
> > > > Apache2 seems to load mod_dav_svn.so fine, but when I add the
> > > > following to
> > > > the end of httpd.conf, Apache refuses to start:
> > > >
> > > > <Location /svn>
> > > > DAV svn
> > > > SVNPath E:/svn
> > > > </Location>
> > > >
> > > > the path is correct, I've been able to commit changes to the
> > > > repos locally.
> > > >
> > > > Apache is running as a service, and it will only start if I
> > > > comment out the
> > > > four lines above, otherwise I get the following error:
> > > >
> > > > The Apache2 service is starting.
> > > > The Apache2 service could not be started.
> > > >
> > > > A service specific error occurred: 1.
> > > >
> > > > More help is available by typing NET HELPMSG 3547.
> > > >
> > > > Anyone know how I can solve this?
> > > >
> > > > Robo
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > > > For additional commands, e-mail: dev-help@subversion.tigris.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > > For additional commands, e-mail: dev-help@subversion.tigris.org
> > >
> > >
> >
>
>

Win7系统64位环境下使用Apache——安装Apache2.4时报错“Invalid command Order”问题的解决

之前在文章Win7系统64位环境下使用Apache——Apache2.4整合Tomcat与mod_jk提到了安装Apache2.4时有可能报错:Invalid command ‘Order‘, per...
  • dongdong9223
  • dongdong9223
  • 2017年04月28日 15:21
  • 1298

Apache启动错误:Invalid command 'Order'

启动Apache httpd服务时,报错:Invalid command 'Order', perhaps misspelled or defined by a module not included...
  • iefreer
  • iefreer
  • 2014年01月28日 17:36
  • 18450

Invalid command 'AuthzSVNAccessFile',方式配置问题解决

提示: Invalid command 'AuthzSVNAccessFile', perhaps misspelled or defined by a module not included in...
  • xfnjlove
  • xfnjlove
  • 2014年03月07日 13:58
  • 1465

Invalid command: files\mongoDB\log\log.txt

我折腾了两个多小时,终于查阅英文文档,找到了问题所在:路径中有空格,会当做一个参数处理。只要用引号引起来就可以了。。。mongod.exe --logpath="D:\Program Files\mo...
  • viana37
  • viana37
  • 2016年05月11日 16:02
  • 964

Apache启动报错:Invalid command 'ProxyPass', perhaps misspelled or defined by a module not inclu ded in t

今天在服务器上刚装完Apache,需要发布一个新的系统,但是启动Apache的时候报错: Invalid command 'ProxyPass', perhaps misspelled or def...
  • zhouyingge1104
  • zhouyingge1104
  • 2015年03月19日 16:40
  • 21324

.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the

.htaccess 文件中有配置如下: #文件缓存时间配置 Header set Cache-Control "max-age=2592000" .htaccess: I...
  • ybhjx
  • ybhjx
  • 2016年01月17日 09:27
  • 1860

Centos6.3搭建SVN服务器

一、简介        SVN作为新一代代码版本管理工具,有很多优点,管理方便,逻辑明确,安全性高,代码一致性高。SVN数据存储有两种方式,BDB(事务安全表类型)和FSFS(一种不需要数据库的存储...
  • taiyang1987912
  • taiyang1987912
  • 2014年12月31日 11:03
  • 3410

ubuntu下svn多仓库关于dav_svn.conf文件和authz文件的修改

目的:建立两个独立仓库,并使用同一个authz和passwd分配svn权限
  • ice_queen
  • ice_queen
  • 2013年10月21日 09:57
  • 1691

httpd无法启动

机器重启后,dashboard无法显示。查看后台发现httpd无法启动。 检查httpd日志,如下提示: ========= [root@controller ~]# systemctl sta...
  • onlyellow
  • onlyellow
  • 2016年05月16日 09:52
  • 861

配置svn时遇到错误 Invalid command 'DAV', (解决)

LoadModule dav_module modules/mod_dav.so这一行的注释去掉,原因如下:You arent loading mod_dav. mod_dav_svn just im...
  • leo_arui
  • leo_arui
  • 2006年05月25日 12:55
  • 6144
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:配置svn时遇到错误 Invalid command 'DAV', (解决)
举报原因:
原因补充:

(最多只允许输入30个字)