I have a vhost setup for trac which does not want to let me do logins.  
I'm getting to my wits end on figuring this out.

When I click on login I get the following error:
Trac Error
Authentication information not available. Please refer to the 
installation documentation 
<http://trac.red-tux.net/wiki/TracInstall#ConfiguringAuthentication>.

When I remove the login location tag and make the whole trac instance 
part of http auth I get a login prompt and I show myself as being 
authenticated.  But when I have location based authentication it's not 
working.  Going through the trac logs is proving to be pretty useless.  
Apache is not showing any errors either except for not being able to 
show the banner image.

OpenSuSE 11.1 x86_64
apache2-prefork-2.2.10-2.5
apache2-2.2.10-2.5
apache2-mod_python-3.3.1-147.35
libpython2_6-1_0-2.6.0-2.22.1
python-base-2.6.0-2.22.1
python-2.6.0-2.21.1
python-devel-2.6.0-2.22.1
python-setuptools-0.6c8-10.17
subversion-python-1.5.7-0.1.1
Trac 0.11.5

What am I missing?

Section of trac log file
2009-09-29 12:15:48,273 Trac[main] DEBUG: Dispatching <Request "GET 
u'/login'">
2009-09-29 12:15:48,309 Trac[svn_fs] DEBUG: Subversion bindings imported
2009-09-29 12:15:48,312 Trac[cache] DEBUG: cache metadata undefined 
(youngest_rev=u'')
2009-09-29 12:15:48,313 Trac[cache] INFO: repos rev [0] != cached rev [None]
2009-09-29 12:15:48,314 Trac[main] WARNING: HTTPInternalError: 500 Trac 
Error (Authentication information not available. Please refer to the <a 
href="/wiki/TracInstall#ConfiguringAuthentication" title="Configuring 
Authentication">installation documentation</a>.)

Apache config with obfustication
<VirtualHost *:80>
  ServerName trac.red**.###
  DocumentRoot /srv/vhosts/trac.red**.###
  ErrorLog /var/log/apache2/trac.red**.###-error_log
  CustomLog /var/log/apache2/trac.red**.###-access_log combined
  HostnameLookups Off
  UseCanonicalName Off
  ServerSignature On

  <Directory "/srv/vhosts/trac.red**.###">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>

  <Location />
    SetHandler mod_python
    PythonInterpreter main_interpreter
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnv /srv/trac/red**
    PythonOption TracUriRoot /
    PythonOption PYTHON_EGG_CACHE /srv/trac/python-eggs
  </Location>

  <Location "/login">
    AuthType Basic
    AuthName "Trac"
    AuthUserFile /srv/www/red**.htpass
    Require valid-user
  </Location>
</VirtualHost>

-Andrew


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to