继续研究尝试 ::-- ZoomQuiet [DateTime(2007-03-06T14:14:46Z)] TableOfContents
1. apache+fastcgi
1.1. 准备
- 因为需要将 SVN 通过 HTTP 进行发布,所以 Lighttpd 无法进行转移到 apache22
{{{#确保以下模块安装成功 LoadModule dav_module libexec/apache22/mod_dav.so LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so LoadModule authz_svn_module libexec/apache22/mod_authz_svn.so }}}
配置apache
<VirtualHost 210.192.102.145:80> ServerName obp.zoomquiet.org DocumentRoot /path/to/web/site/root/htdocs <Directory "/path/to/web/site/root/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> #Zoomq::070306 for SVN repos <Location /svn> DAV svn SVNParentPath /usr/local/repos # our access control policy AuthzSVNAccessFile /usr/local/repos/matter/conf/authz.cfg # try anonymous access first, resort to real # authentication if necessary. Satisfy Any Require valid-user # how to authenticate a user AuthType Basic AuthName "zoomquiet.org repository" AuthUserFile /usr/local/repos/svn.htpasswd SVNIndexXSLT "/svnindex.xsl" </Location> </VirtualHost>
1.2. Django 方式
- 参考:
[http://www.djangoproject.com/documentation/fastcgi/ How to use Django with FastCGI]
[http://nicholasdsj.blogspot.com/2006/12/django-apache2-fastcgi.html Django 学习笔记 - Apache2 + FastCGI] -- Nicholas @ Nirvana Studio
1.3. 51boo方式
- 参考 [:ObpLatform/2007-02-24:limodou的配置]