3
我正在尝试发布hg存储库。我为多个存储库使用hg 1.7.3
和hgweb
。在索引页上存储库名称被显示,但是当我点击它们时,我得到关于断开链接的信息。 Apache错误日志说:hgweb:存储库已显示,但无法访问
[Tue Feb 01 15:41:31 2011] [error] [client 10.13.3.64] script not found or unable to stat: /home/hg/webdir/index.cgienigma-reports, referer: http://hg.internal/
我试图访问路径http://hg.internal/enigma-reports/
。任何想法,我可能做错了什么?
我的网站,提供外观配置是这样的:
<VirtualHost *>
ServerName hg.internal
ScriptAlias/"/home/hg/webdir/index.cgi/"
</VirtualHost>
之前有在路径中的index.cgi没有尾随斜线。为什么需要尾部斜线?现在它看起来像一个目录,而不是一个文件,看起来非常直观。