首先安装Apache Http Server,全部安装,在安装SVN一定要选上Apache支持模块。
参考 SVN后 bin/README.txt文件即可完成SVN与Apache在Windows下的集成。
This is Subversion for Win32, version 1.5.6. Read the CHANGES file to
see what changed in this release:
http://svn.collab.net/repos/svn/branches/1.5.x/CHANGES
These binaries were built with:
Neon 0.28.3
Berkeley DB 4.4.20
OpenSSL 0.9.8h
ZLib 1.2.3
Apache 2.2.9
Python 2.5
libintl 0.14.1 (patched)
Ruby 1.8.6
Cyrus SASL 2.1.22
serf 0.2.0
The BDB binaries are at
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=688
The patched libintl is at
http://subversion.tigris.org/files/documents/15/20739/svn-win32-libintl.zip
Please read the Subversion INSTALL file for more information:
http://svn.collab.net/repos/svn/trunk/INSTALL
Note for Python 2.5 users: Since Python 2.5 will no longer load modules with
.dll extensions, you will need to rename the libsvn/*.dll files to .pyd
manually.
Package contents:
svn-win32-1.5.6/
README.txt -- This file
bin/ -- All Subversion binaries and supporting DLLs,
*.exe including APR DLLs
*.dll
*.pdb
mod_*_svn.so -- Apache modules
mod_*_svn.pdb
doc/ -- Doxygen documentation
*.html
*.css
*.png
iconv/ -- All apr-iconv loadable modules
*.so
*.pdb
include/ -- Include files (for development)
*.h
apr/
*.h
apr-util/
*.h
apr-iconv/
*.h
javahl/ -- Java HighLevel wrapper library
*.jar
*.dll
*.pdb
lib/ -- Library files (for development)
libsvn*.lib
apr/
*.lib
*.pdb
apr-util/
*.lib
*.pdb
apr-iconv/
*.lib
*.pdb
neon/
*.lib
*.pdb
serf/
*.lib
*.pdb
sasl/
*.lib
*.pdb
licenses/ -- Various license files
perl/ -- Perl language bindings
site/lib/SVN/
*.pm
site/lib/auto/SVN/
*.dll
*.pdb
python/ -- Python language bindings
libsvn/
*.py
*.dll
*.pdb
svn/
*.py
ruby/ -- Ruby language bindings
share/
locale/ -- Message translations
For a nice description of setting up Subversion on a server on Windows, see the
developer edition of the TortoiseSVN Manual, Chapter 3, Setting Up A Server:
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/index.html
For an Apache server here's the essentials:
1. Copy bin/mod_dav_svn.so and bin/mod_authz_svn.so to the Apache modules directory.
2. Add the Subversion/bin directory to the SYSTEM PATH and reboot so all the Subversion
support dll's are visible to the Apache service.
3. Edit the Apache configuration file (httpd.conf) and make the following changes:
3a. Uncomment the following two lines:
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_module modules/mod_dav.so
3b. Add the following two lines to the end of the LoadModule section:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
3c. Add the following to end of the file. Note: This Location directive is a
minimal example with no authentication directives. For other options,
especially authentication options, see the Subversion INSTALL file,
the Subversion Book, or the TortoiseSVN Manual.
<Location /svn>
DAV svn
SVNPath your/repository/path
</Location>