Mercurial 的 trac 身份验证问题
我正在尝试在 Centos 机器上安装 Trac。我已经安装了 Trac (v 0.12.1) 和 tracmercurial 插件 (http://trac.edgewall.org/wiki/TracMercurial) rev #@9946。
到目前为止,除了当我进入登录页面时,一切似乎都工作正常。我不断收到错误
"Authentication information not available."
My trac project is at /home/adil/trac-projects 。我的 Mercurial 存储库位于 /home/adil/hg/reponame 。我的 htpasswd 文件位于 /home/adil/hg/.htpasswd,世界可读。
我想使用我的 htpasswd 文件登录 trac,但是一旦我进入该页面,我就会看到一个友好的错误。我像这样初始化 tracd :
sudo tracd --port 8002 --basic-auth=\"trac-projects,/home/adil/hg/.htpasswd,Private\" /home/adil/trac-projects
我提到 Mercurial 的原因是因为它在未安装插件时似乎可以工作。但我两者都需要。
什么给?
I'm trying to get a Trac install working on a Centos box. I have installed Trac (v 0.12.1) and tracmercurial plugin (http://trac.edgewall.org/wiki/TracMercurial) rev #@9946.
So far everything seems to be working fine EXCEPT when i go to the login page. I constantly get the error
"Authentication information not available."
My trac project is at /home/adil/trac-projects . My mercurial repo is at /home/adil/hg/reponame . My htpasswd file is at /home/adil/hg/.htpasswd, world readable.
I would like to use my htpasswd file to login to trac, but as soon as i step in the page i am greeted with a friendly error. I am initializing tracd like so :
sudo tracd --port 8002 --basic-auth=\"trac-projects,/home/adil/hg/.htpasswd,Private\" /home/adil/trac-projects
The reason i mentioned mercurial is because it seemed to work when the plugin was not installed. But i need both.
What gives?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论