2、配置
修改viewcvs.conf
cvs_roots指定CVS仓库的根,如cvs_roots = cvs: E:cvs-repositoryCVSROOT
cvsnt_exe_path指定cvsnt的位置 cvsnt_exe_path = C:Program Filescvsntcvs.exe
address指定管理员的email
languages修改成zh-cn, en-us支持中文
启用enscript
use_enscript = 1
enscript_path = C:GnuWin32
启用cvsgraph
use_cvsgraph = 1
cvsgraph_path = C:GnuWin32
3、运行
i. 执行安装目录下的standalone.py脚本以standalone的方式运行viewcvs
ii.结合apache
以普通CGI方式运行
修改httpd.conf
添加
ScriptAlias /viewcvs "C:/viewcvs/www/cgi/viewcvs.cgi"
重启apache,访问http://localhost/viewcvs
或
借助mod_python模块
安装Mod_python,下载地址http://httpd.apache.org/modules/python-download.cgi
修改httpd.conf
添加
LoadModule python_module modules/mod_python.so]
Alias /viewcvs/ "C:/viewcvs/www/mod_python/"
<Directory "C:/viewcvs/www/mod_python">
Options Indexes MultiViews
AllowOverride Options FileInfo
Order allow,deny
Allow from all
</Directory>
重启apache,访问http://localhost/viewcvs/viewcvs.py
[Useful links]
CVSNT 2.0.38 | http://www.cvsnt.com/downloads/
ViewCVS 1.0-dev for Windows Release 6 | http://russ.hn.org/viewcvs/
Python 2.3.4 | http://www.python.org/2.3.4/
Python Win32 Extensions | http://starship.python.net/crew/mhammond/win32/Downloads.html
Apache 2.0 | http://httpd.apache.org/download.cgi
Mod_python | http://httpd.apache.org/modules/python-download.cgi
CvsGraph | http://www.akhphd.au.dk/~bertho/cvsgraph/
Enscript,sed,libiconv,libintl | http://gnuwin32.sourceforge.net/packages.html