2011-10-13 50 views
0

我嘗試按照本手冊進行操作。 http://www.redmine.org/projects/redmine/wiki/HowToInstallRedmineOnUbuntuServer安裝Redmine + Mercuria,推送,放棄:授權失敗

我有,在VMware

桌面的Ubuntu 11.04

通過手動我也做了以下內容:

  • 預安裝
  • 管理平臺安裝
  • 的Apache集成
  • 水銀整合

一切似乎作品和看起來很好(網絡接口OK,克隆試驗回購OK)

但當我:

hg push 
pushing to http://192.168.1.10/hg/test 
searching for changes 
http authorization required 
realm: Redmine Mercurial Repository 
user: i try, root, linux user, mysql, redmine user 
password:.... 
abort: authorization failed 

我不知道他想要什麼用戶名和密碼。在VAR/HG/hgweb.config

[web] 
allow_push = * 
push_ssl = false 

在Apache的配置文件

<Location /hg > 
    AuthType Basic 
    AuthName "Redmine Mercurial Repository" 
    Require valid-user 
+0

對於您的信息,[BitNami](http://bitnami.org)提出了大量的預裝vm。其中之一包括redmine:http://bitnami.org/stack/redmine –

回答

0

我沒有看到有關運行htaccess的,這是要創建用戶本網站上的文字/密碼登錄與...一起。這是您的AuthType Basic工作所必需的。此外,你不想使用AuthType Basics,你真的想至少使用Digest類型(它使用一個體面的散列)。

+0

我嘗試:sudo htpasswd -c /var/hg/.htpasswd dev;並添加到/etc/apache2/conf.d/hg.config AuthUserFile /var/hg/.htpasswd,重新啓動apache - >用戶「dev」登錄並通過 - >同樣的錯誤(中止:授權失敗) – Echeg