Just completed a new install of trac0.9.4;
Everything seems to working fine except this is what I get when I click
"login"; 

What did I do wrong?

---

Oops...
Trac detected an internal error: 
Authentication information not available.If you think this really should
work and you can reproduce it. Then you should consider to report this
problem to the Trac team. 

Go to http://trac.edgewall.com/ and create a new ticket where you describe
the problem, how to reproduce it. Don't forget to include the python
traceback found below. 

TracGuide - The Trac User and Administration Guide 

Python traceback
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/cgi_frontend.py",
line 130, in run
    dispatch_request(req.path_info, req, env)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 139,
in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 107,
in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/auth.py", line 82,
in process_request
    self._do_login(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/auth.py", line 103,
in _do_login
    assert req.remote_user, 'Authentication information not available.'
AssertionError: Authentication information not available.

---

I've got an htpass file at /www/trac/trac.htpasswd and I've confirmed its
readable by the server (same usr/grp & permissions as the db file which I
know is working) and here is the following config in my apache conf (im
trying to setup multiple projects;

---

# Trac directives
Alias /trac/chrome/common /usr/local/share/trac/htdocs
<Directory "/usr/local/share/trac/htdocs">
        Order allow,deny
        Allow from all
</Directory>
ScriptAlias /trac /usr/local/share/trac/cgi-bin/trac.cgi
<Location "/trac">
        SetEnv TRAC_ENV_PARENT_DIR "/www/trac"
</Location>
<LocationMatch "/trac/[^/]+login">
        AuthType Basic
        AuthName "Trac"
        AuthUserFile /www/trac/trac.htpasswd
        Require valid-user
</LocationMatch>


---


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to