I use tracd to serve ma trac pages. I set up (basic) authentication and it doesn't work when I launch tracd via /etc/init.d/tracd start. Trac gives me "Trac Error Authentication information not available. Please refer to the installation documentation. TracGuide — The Trac User and Administration Guide " When I launcg the same command line via the shell, it works Here is the command line of my trac : /usr/bin/tracd -p 3050 /var/lib/trac/korsani -s -r --basic-auth='korsani,/var/lib/trac/.htpasswd,plop' Reproducible: Always Steps to Reproduce: 1. htpasswd -c /var/lib/trac/.htpasswd username 2. tracd -p 3050 /var/lib/trac/korsani -s -r --basic-auth='korsani,/var/lib/trac/.htpasswd,plop' 3. point your browser to your trac instance, and try to log in Actual Results: Trac Error Authentication information not available. Please refer to the installation documentation. TracGuide — The Trac User and Administration Guide Expected Results: I'm logged in My trac is 0.12.2 behind nginx
I hit this bug recently. How did you set the TRACD_OPTS variable from /etc/confd/tracd ? To make it work as expected you should try without quoting the --basic-auth content : TRACD_OPTS="--basic-auth=korsani,/var/lib/trac/.htpasswd,plop /var/lib/trac/korsani"
It works without quoting the --basic-auth. Thank you :)
This has been fixed.