On Wed, 2006-06-14 at 09:24 -0400, Patrick Gavigan wrote: > I've been having a fair amount of trouble setting up my trac system, > which is unfortunate, since I've heard so many good things about it. > I've tried following the instructions for installing and configuring > trac that are currently in the guide, however I haven't had any luck. > After following the instructions, the following error is produced when > I try to log in. > ...snip... > > AssertionError: Authentication information not available. > ...snip... > Below is my trac.conf file as it currently appears... > > <LocationMatch /cgi-bin/trac\.f?cgi> > SetEnv TRAC_ENV /home/trac/RTIproject > </LocationMatch> > <Location /home/trac/RTIproject> > SetHandler mod_python > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv /home/trac/RTIproject > PythonOption TracUriRoot /home/trac/RTIproject > </Location> > <Location "/home/trac/RTIproject/login"> > AuthType Basic > AuthName "RTI" > AuthUserFile /var/www/html/RTIproject/.htpasswd > Require valid-user > </Location>
<Location> matches a URL, not a directory. Change: <Location "/home/trac/RTIproject/login"> To: <LocationMatch "/cgi-bin/trac\.f?cgi/login"> (and the closing tag as well) Of course you probably want to settle on one way of accessing Trac (FastCGI, mod_python, or CGI). Once you do you wouldn't need the LocationMatch since you could use just the plain path to the login URL. -- Matthew Good <[EMAIL PROTECTED]> _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
