Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently setting up trac on Fedora 11 using the rpm provided by Fedora. I have everything up and running except authentication. Any time I try to Login I get the error "Authentication information not available"

Here is my /etc/httpd/conf.d/trac.conf

# Replace all occurrences of /srv/trac with your trac root below
# and uncomment the respective SetEnv and PythonOption directives.
<LocationMatch /cgi-bin/trac\.f?cgi>
    SetEnv TRAC_ENV /data/trac/msf
<IfModule mod_python.c>
<Location /cgi-bin/trac.cgi>
    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnv /data/trac/msf
<Location /cgi-bin/trac.cgi/login>
   AuthType Basic
   AuthName "Trac"
   AuthUserFile /data/trac/msf/trac.htpasswd
   Require valid-user

From reading the trac documentation I thought this should work but am having no joy. Can anyone suggest what the issue is?

share|improve this question

Make sure that /data/trac/msf/trac.htpasswd file exists, is in proper format and can be readable by everyone(or at least by the user which is runing Apache Server).

share|improve this answer
Can confirm that this is the case. – Mark Jul 29 '09 at 12:44
up vote 0 down vote accepted

I am not sure what my original problem was but was able to get up and running by following the instructions on using trac with mod_python directly in this post on the Fedora Forums.

share|improve this answer

i think you missing something, here is my config from working server

    <Location />
	SetHandler mod_python
	PythonInterpreter main_interpreter
	PythonHandler trac.web.modpython_frontend
	PythonOption TracEnv /home/XXX/trac/
	PythonOption TracUriRoot /
<Location /login>
	AuthType Basic
	AuthName "TRAC"
	AuthUserFile /home/XXX/trac/conf/.htpasswd
	Require valid-user
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.