VisualSVN Server + Trac authentication issues

I have Trac installed on my VisualSVN server (using Subversion authentication), however every time I go to the Trac homepage after opening the browser I get a basic validation dialog asking me for a username / password. I would like to have a Trac login form that will allow me to login permanently using cookies.

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

I was able 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 tried to use SvnServePasswordStore as my password store, but I don't know which of the files in the repository directory should point it.

Help would be appreciated!

+2


a source to share


1 answer


I think I figured it out.

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

Require valid-user

      



Then I set up a repository for the AccountManagerPlugin to use the HtPasswdStore that I specified in Trac.ini in the htpasswd file at the root of the repository.

I'm not sure if I can manage users in Trac, but I will be using VisualSVN to manage users, so hopefully this shouldn't be a problem.

+1


a source







All Articles