apache配置LoadModule dav_svn_module modules/mod_dav_svn.so后出现the requested operation has failed 5
我按照如下配置apache出错:找到Apache安装目录下的conf目录,用文本编辑器打开httpd.conf,找到一下两行:#LoadModuledav_modulem...
我按照如下配置apache出错:
找到Apache安装目录下的conf目录,用文本编辑器打开httpd.conf,找到一下两行:
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
将每行前面的注释符“#”去掉。再在所有LoadModule语句的最后添加一下几行:
#SVN
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
我将subversion--bin目录下的mod_dav_svn.so 和mod_authz_svn.so 拷到了apache---modules目录下,在httpd.conf中加上LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so 后apache无法启动,请高手指教!
以下是错误日志里的信息
[Tue Apr 08 13:19:43 2014] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Apr 08 13:19:43 2014] [notice] Child 7752: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 86 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: API module structure 'dav_svn_module' in file C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_dav_svn.so is garbled - expected signature 41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?
[Tue Apr 08 13:19:43 2014] [warn] (OS 995)由于线程退出或应用程序请求,已中止 I/O 操作。 : winnt_accept: Asynchronous AcceptEx failed.
[Tue Apr 08 13:19:44 2014] [notice] Child 7752: Released the start mutex
[Tue Apr 08 13:19:45 2014] [notice] Child 7752: All worker threads have exited.
[Tue Apr 08 13:19:45 2014] [notice] Child 7752: Child process is exiting
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn/myproject>
DAV svn
SVNPath D:/svnroot/myproject
AuthzSVNAccessFile D:/svnroot/myproject/conf/access.auth
Satisfy Any
Require valid-user
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile D:/svnroot/myproject/conf/users.auth
Require valid-user
</Location> 展开
找到Apache安装目录下的conf目录,用文本编辑器打开httpd.conf,找到一下两行:
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
将每行前面的注释符“#”去掉。再在所有LoadModule语句的最后添加一下几行:
#SVN
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
我将subversion--bin目录下的mod_dav_svn.so 和mod_authz_svn.so 拷到了apache---modules目录下,在httpd.conf中加上LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so 后apache无法启动,请高手指教!
以下是错误日志里的信息
[Tue Apr 08 13:19:43 2014] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Apr 08 13:19:43 2014] [notice] Child 7752: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 86 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: API module structure 'dav_svn_module' in file C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_dav_svn.so is garbled - expected signature 41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?
[Tue Apr 08 13:19:43 2014] [warn] (OS 995)由于线程退出或应用程序请求,已中止 I/O 操作。 : winnt_accept: Asynchronous AcceptEx failed.
[Tue Apr 08 13:19:44 2014] [notice] Child 7752: Released the start mutex
[Tue Apr 08 13:19:45 2014] [notice] Child 7752: All worker threads have exited.
[Tue Apr 08 13:19:45 2014] [notice] Child 7752: Child process is exiting
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn/myproject>
DAV svn
SVNPath D:/svnroot/myproject
AuthzSVNAccessFile D:/svnroot/myproject/conf/access.auth
Satisfy Any
Require valid-user
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile D:/svnroot/myproject/conf/users.auth
Require valid-user
</Location> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询