Submitted by bluefluid on Sat, 02/26/2011 - 20:59
After installing trac, the installer reports that it completed and set up an initial administration login. The installer adds a location match directive to apache conf, but trac seems unable to find the auth info. Here is the directive:
/public_html/.*/login>
AuthType Basic
AuthName
AuthUserFile /home//etc/svn.basic.passwd
Require valid-user
Looks OK to me but gets the trac error "Authentication information not available." Thoughts?
Status:
Active
Comments
Submitted by JamieCameron on Sat, 02/26/2011 - 23:36 Comment #1
What URL do you get that error for? Is it for the Trac admin page, which is usually at http://yourdomain.com/admin ?
Submitted by bluefluid on Sun, 02/27/2011 - 11:42 Comment #2
This is for the login page (/login). The admin page (/admin) is not found ("No administration panels available"), and trac-admin fails (DistributionNotFound, does the installer put the package somewhere unusual?).
Submitted by bluefluid on Sun, 02/27/2011 - 12:09 Comment #3
Re trac-admin, it looks like the installer puts a tmp copy of the Trac egg under the user's home dir. When I manually copy this to site-packages, it fails with:
Submitted by JamieCameron on Mon, 02/28/2011 - 00:40 Comment #4
Ok, I see the bug now .. Virtualmin isn't setting up authentication for the Trac login path properly.
I will fix this in the next release. The work-around is to go to Services -> Configure Website -> Location regexp /home/something/public_html/*/login . Then in the Path field change it to just
/.*/login
, click Save and then click Apply Changes.Submitted by JamieCameron on Mon, 02/28/2011 - 00:40 Comment #5
Submitted by bluefluid on Mon, 02/28/2011 - 11:08 Comment #6
Still gets the same error. Even when I replace the regex with a literal location and try anything else, it still fails.
Submitted by bluefluid on Mon, 02/28/2011 - 11:53 Comment #7
Sorry, still had a browser tab open to the standard site when I'd updated the httpd conf for the SSL site. It now finds the auth info.