Using Subversion with Viewcvs for Windows
Software list:
Subversion Windows: http://subversion.tigris.org
Apache2 2.0. * Windows: http://httpd.apache.org
Python 2.3 windows: http://www.python.org
Python for windows extension: http://starship.python.net/crew/mhammond/win32
Python 2.3 Bindings for Subversion On Win32 SVN-Win32-1.0. * _ Py.zip: http://subversion.tigris.org
MOD_PYTHON Windows: http://www.modpython.org
Viewcvs 1.0-dev: http://viewcvs.sourceforge.net
Before you start, you need to install Subversion, Apache2, Python, Python Win32 Extension, MOD_PYTHON
Differentize the libsvn in the SVN-Win32-1.0. * _ Py.zip compression package to C: / Python23 / LIB
The above steps are completed, start installing Viewcvs, check whether Python's path is placed in the Path path, or enter the Python folder. Perform a installation execution script
C: / temp / viewcvs> c: /python23/python.exe viewcvs-install
Enter the installation directory, such as g: / viewcvs
Subversion archive establishment
G: / svn> svnadmin create LH
Modify the Apache configuration file, execute the way using the module, speed is faster than CGI
C: / program files / apache group / apache2 / conf / httpd.conf
LoadModule Python_Module Modules / MOD_PYTHON.SO
Scriptalias / View "g: /viewcvs/www/mod_python/viewcvs.py"
AddHandler Python-Program .py
Pythonpath "[r'g: // viewcvs // lib '] sys.path"
PythonHandler Apache
Pythondebug on
AddDefaultCharset UTF-8
location>
Change viewcvs configuration file
G: /viewcvs/viewcvs.conf
SVN_ROOTS = LH: G: / SVN / LH
SVN_PARENT_PATH = G: / SVN
Default_root = LH
Address and Language can be changed according to the requirements, set up Language = ZH-CN here
Restarting Apache is OK, because Subversion has a lot of related webpage descriptions under Windows, and the descriptive information for integrating Viewcvs and Subversion under Windows system is almost ok, and finally find a Korean information page, although I don't understand Korean, but roughly understand the process, so difficult setting, or there is some information.
There is also a setting of the Subversion Access Level, which originally thought that htpasswd -c / etc / svn-auth-file harry htpasswd is the command of the Linux system, and I didn't expect to be an executable file inside the bin in the apache directory. , In accordance with the instructions inside the official documentation, it is very simple. Originally Quote http://wiki.kldp.org/wiki.php/subversionwithviewviewcvsforWindows