I've just finished installing Trac on Ubuntu Breezy. When I try to login, I get the following error:

------------------------------------------------------------------------ ------------
Trac detected an internal error:
Authentication information not available.
------------------------------------------------------------------------ ------------

This is exactly the same as ticket #2258. So I following the instructions on

http://projects.edgewall.com/trac/wiki/TracCgi#AddingAuthentication. My trac config file looks like this now:

------------------------------------------------------------------------ ------------
<VirtualHost *>
        ServerAdmin [EMAIL PROTECTED]
        ServerName willie-ubuntu
        DocumentRoot /usr/share/trac/cgi-bin/
        <Directory /usr/share/trac/cgi-bin/>
                Options Indexes FollowSymLinks MultiViews ExecCGI
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
        Alias /trac "/usr/share/trac/htdocs"

        <Location /trac.cgi>
            SetEnv TRAC_ENV "/var/trac/v3"
        </Location>

          # Login information use same as SVN
          <Location "/trac/login">
              AuthType Basic
              AuthName "Trac"
              AuthUserFile /etc/apache2/dav_svn.passwd
              AuthzSVNAccessFile /etc/apache2/dav_svn.authz
              Require valid-user
          </Location>

        DirectoryIndex trac.cgi
        ErrorLog /var/log/apache2/error.trac.log
        CustomLog /var/log/apache2/access.trac.log combined
</VirtualHost>

------------------------------------------------------------------------ ------------

I know this authentication file is valid because it works for subversion access. Could somebody please tell me what I'm doing wrong?

Thanks!

Sean


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

Reply via email to