hi trac community,
 
I have what I believe is an apache configuration error preventing login
from working. Can someone take a look and tell me what I need to fix?
The error I'm getting is:
 
Trac detected an internal error: 
Authentication information not available.

Python traceback
Traceback (most recent call last):
  File
"/opt/csw/lib/python2.3/site-packages/trac/web/modpython_frontend.py",
line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line
139, in dispatch_request
    dispatcher.dispatch(req)
  File "/opt/csw/lib/python2.3/site-packages/trac/web/main.py", line
107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/opt/csw/lib/python2.3/site-packages/trac/web/auth.py", line 82,
in process_request
    self._do_login(req)
  File "/opt/csw/lib/python2.3/site-packages/trac/web/auth.py", line
103, in _do_login
    assert req.remote_user, 'Authentication information not available.'
AssertionError: Authentication information not available.

multiple trac projects under a secure virtual host:
https://machine.uncc.edu/trac
  
<VirtualHost 152.15.XX.XXX:443 >
  ServerName machine.uncc.edu
  DocumentRoot  /export/home/wsadmin/websites/machine.uncc.edu/

  # Trac
  <Location /trac>
    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend 
    PythonOption TracEnvParentDir /export/home/wsadmin/trac
    PythonOption TracUriRoot /trac
  </Location>

  # Web Services
  <Directory "/export/home/wsadmin/trac/web_services">
    Order allow,deny
    Allow from all
  </Directory>

  # Math Department
  <Directory "/export/home/wsadmin/trac/math">
    Order allow,deny
    Allow from all
  </Directory>
  <Location /trac/math/login> 
    AuthType Basic
    AuthName "Math Department"
    AuthBasicProvider ldap
    AuthLDAPURL
ldaps://server.uncc.edu:636/ou=users,o=unccharlotte?cn?sub
  </Location>

</VirtualHost>
 
Scott Lundgren
ITS - Web Services
UNC at Charlotte
http://www.uncc.edu <http://www.uncc.edu/> 
 
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to