Posted on 2006-11-27 00:14
Dr.Water 阅读(2656)
评论(1) 编辑 收藏 所属分类:
环境配置
Apache 2.2.3 Subversion 1.4.0(r21228) integrate
reference :
http://xrinehart.cnblogs.com/archive/2005/10/27/262759.html
http://xrinehart.cnblogs.com/archive/2005/10/29/264659.html
http://www.apachelounge.com/forum/viewtopic.php?t=121
(maniac provide svn 1.4.0 module win32 binary for apache 2.2.x)
Warning:
subversion.tigris.org
Windows binaries - ATTENTION!: The mod_dav_svn binaries available here are NOT compatible with Apache 2.2
FAQ:
Error: Expected fromat '3' of repository;found format '5'
use "--pre-1.4-compatible", default format is "5" !!
Integrate Guide:
I use other complie svn module for apache 2.2.3 ,
Step1:
copy *.dll to %APACHE_HOME%\bin
copy *.so to %APACHE_HOME%\modules
Step2:
edit %APACHE_HOME%\conf\httpd.conf
find:
#LoadModule dav_module modules\mod_dav.so
#LoadModule dav_fs_module modules\mod_dav_fs.so
change: "#" to ""
LoadModule dav_module modules\mod_dav.so
LoadModule dav_fs_module modules\mod_dav_fs.so
and add SVN Module:
#SVN
LoadModule dav_svn_module modules\mod_dav_svn.so
LoadModule authz_svn_module modules\mod_authz_svn.so
Step3:
config SVN auth,add httpd.conf
use apache basic auth,gen password file
%APACHE_HOME%\bin\htpasswd -cm D:/server/webservice/clear/Apache2.2/svn-auth/svn-auth-file harry
<IfModule dav_svn_module>
<Location /svn>
DAV svn
SVNParentPath D:/SubversionRoot
AuthTypeBasic
AuthName "Subversion Repository"
AuthUserFile D:/server/webservice/clear/Apache2.2/svn-auth/svn-auth-file
Require valid-user
</Location>
</IfModule>
主要就是svn官方的win binary不支持apache 2.2的新module调用。