开发者

VisualSVN Server + Trac Authentication Problems

开发者 https://www.devze.com 2022-12-29 11:30 出处:网络
I have Trac set up on my VisualSVN server (using Subversion authentication), however every time I navigate to the Trac home page after opening the browser, I get the basic authentication dialog asking

I have Trac set up on my VisualSVN server (using Subversion authentication), however every time I navigate to the Trac home page after opening the browser, I get the basic authentication dialog asking me for my username/password. What I would like to do is have a login form in Trac, which would allow me to log in forever using cookies.

I have tried installing the AccountManagerPlugin, but I am completely unsure of how to correctly set it up. (I am used to working with IIS on corporate intranets, so this is kind of alien to me)

I have managed to bypass the basic authentication dialog by setting this in my httpd-custom.conf:

AuthName "Trac"
AuthType Basic开发者_开发技巧
AuthBasicProvider file
AuthUserFile "E:/Repositories/htpasswd"

#Require valid-user

I have tried using SvnServePasswordStore as my password store but I do not know which of the files in the repository directory to point it at.

Help would be appreciated!


I think I have figured it out.

First, in httpd-custom.conf, I commented out the line:

Require valid-user

Then, I set the store for the AccountManagerPlugin to use the HtPasswdStore, which I pointed in Trac.ini at the htpasswd file in the repository root.

I am not sure if I can manage users within Trac, but I will be using VisualSVN to manage users so hopefully it shouldn't be an issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消