git instaweb给出403禁止 - 找不到项目 [英] git instaweb gives 403 Forbidden - No projects found

查看:132
本文介绍了git instaweb给出403禁止 - 找不到项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的资源库中运行 git instaweb 打开一个页面,显示403 Forbidden - No projects found。我错过了什么?

解决方案

看起来像git集的debian安装 $ projectroot 全局性地混淆 instaweb 。我从 /etc/gitweb.conf 中删除​​了 $ projectroot 行,错误消失了。


running git instaweb in my repository opens a page that says "403 Forbidden - No projects found". What am I missing?

解决方案

looks like the debian install of git sets $projectroot globally in a way that confuses instaweb. I removed the $projectroot line from /etc/gitweb.conf and the error went away.

这篇关于git instaweb给出403禁止 - 找不到项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆