访问Redmine存储库:没有扩展名的目录和文件

时间:2013-10-29 14:21:51

标签: git redmine

我已经将Git存储库与Redmine连接起来了。通过Redmine GUI我试图访问文件/目录,其中一些只是让我回来错误404“在存储库中找不到条目或修订。”

我尝试访问目录client,但获得了404。

production.log我注意到以下内容:

 Started GET "/projects/MYPROJECT/repository/revisions/master/show/client.html"       for 212.57.58.2 at 2013-10-29 15:11:56 +0100
 Processing by RepositoriesController#show as HTML
 Parameters: {"id"=>"MYPROJECT", "rev"=>"master", "path"=>"client.html"}
 Current user: pavel (id=4)
 Rendered common/error.html.erb within layouts/base (0.2ms)
 Completed 404 Not Found in 50ms (Views: 22.1ms | ActiveRecord: 3.3ms)

正如您所见,redmine尝试访问所有目录和没有扩展名的所有文件的 client.html

为什么redmine会添加 .html 以及如何避免它?

0 个答案:

没有答案