|
|

楼主 |
发表于 2009-6-17 00:35:27
|
显示全部楼层
问题终于解决了,谢谢zhllg!!
设置文件 /etc/portage/package.use:
dev-util/git perl cgi
重新编译git,后就会有gitweb目录了。
按照原文,还需要修改 01_gitweb_vhost.conf 如下,用虚拟主机方式始终不能通过:
<Directory /var/www/localhost/htdocs/gitweb>
Allow from all
AllowOverride all
Order allow,deny
Options ExecCGI
<Files gitweb.cgi>
SetHandler cgi-script
</Files>
</Directory>
DirectoryIndex gitweb.cgi
SetEnv GITWEB_CONFIG /etc/gitweb.conf
问题解决舒坦~~ |
|