当前位置: 首页 > 工具软件 > Net::Dav > 使用案例 >

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

戚鸿
2023-12-01

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

 类似资料: