基于Apache(without ssl)的svn环境搭建

搭建的过程是按照tortersSVN的教程,特别注意的是要额外下载一个sspi的so文件。

 

 

提示:XP sp2已经还有了sp1

ps 遇到的问题,还是遇到了一些问题,网搜了下,列在这儿:
1、出现“The requested operation has failed!”时,可以用httpd.exe -w -n "Apach
e2.2" -k start,可以看出哪行代码出的问题,可能出现的情况:
--------------------------------------------------------------------------------
C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe -w -n "apache2.2" -k restart
Syntax error on line 173 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.con
f:
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 41503230 but saw 4150
3232 - perhaps this is not an Apache module DSO, or was compiled for a different
Apache version?
Note the errors or messages above, and press the <ESC> key to exit. 0....
--------------------------------------------------------------------------------
解决方法可能是:
(1)好像是SVN1.4.3提供的so文件只支持APACHE2.0,并不支持2.2版本的,除非重新编译,考虑兼容性,可以尝试把把所有和SVN有关的文件(含动态连接库文件,*.dll文件啦)全部放在了APACHE安装目录的modules 目录里

2、Invalid command 'DAV'

LoadModule dav_module modules/mod_dav.so

3、C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe -w -n "apach
e2.2" -k restart
httpd.exe: Syntax error on line 115 of C:/Program Files/Apache Software Foundati
on/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache Software Found
ation/Apache2.2/modules/mod_dav_svn.so into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6
\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
Note the errors or messages above, and press the <ESC> key to exit. 0....

解决方法:
后来把SVN/bin目录下所有DLL全复制过去,问题解决,经过筛选发现有几个DLL冲突, apache/bin/*.DLL 最终列表:我只是把SVN/bin目录下所有DLL全复制过去网上说的为以下红线内,我没按照它说的做。
——————————————————————
[-,需要删除的]:
[+.从Subs复制过来的]
[?,未知,可以不要]

[-]libapr-1.dll
[-]libapriconv-1.dll
[-]libaprutil-1.dll

[+]libdb44.dll
[+]libsasl.dll
[+]ssleay32.dll
[?]intl3_svn.dll
——————————————————————

4、权限遇到的问题“[Fri Sep 25 09:52:17 2009] [error] [client 10.1.1.156] Failed to load the AuthzSVNAccessFile: The character 't' in rule 'admin' is not allowed in authz rules
[Fri Sep 25 09:52:17 2009] [error] [client 10.1.1.156] Access denied: 'admin' GET svn:/”

原因是我在authz这个文件里加了以下内容:
[users]
admin = admin
user = qd,bu
test = test
后来才发现这些内容是要加在svn目录下的conf里的passwd文件中,我就把这几行全注销了。干脆就用apache的bin下的passwd文件里的用户好了,这个svn下的passwd没有搞它。等下再说吧

posted @ 2017-05-31 14:48  赵哲丽  阅读(298)  评论(0编辑  收藏  举报
友情链接:回力旗舰店 | 中老年女装 | 新航道英语培训 | SAT培训机构 | 十月英文