关闭

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

标签: commandsvnapachesubversionservicemodule
5505人阅读 评论(0) 收藏 举报
分类:

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
> > >
> > >
> >
>
>

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:190813次
    • 积分:2882
    • 等级:
    • 排名:第12290名
    • 原创:92篇
    • 转载:24篇
    • 译文:1篇
    • 评论:19条
    文章分类
    最新评论
    TWISTED 社区
    Win32原生平台
    正则表达式