I'm using trac with fcgi and apache2.2+suexec and trac 0.10.4
When I go to my trac's url, I am prompted for the basic login. I
enter my username and password and it lets me in but instead of my
name, I'm just anonymous and there's a login button up at the top.
Trac itself is working and I can navigate around and even create and
modify pages and tickets. I click on the login button and I get:
Authentication information not available. Please refer to the
installation documentation.
No errors in the trac.log, error_log or httpd-error.log. I believe
that I've followed the documentation.
I have tried using cgi but the results are identical.
My fcgi script looks like this because I had to set some variables
because I use su-exec:
#!/bin/sh
export TRAC_ENV=/home/www/trac/docroot
export PYTHON_EGG_CACHE=/tmp
exec /usr/local/share/trac/cgi-bin/trac.fcgi
/home/www/trac/docroot/.htaccess looks like this:
AuthType Basic
AuthName "Trac"
AuthUserFile /home/www/trac/htpasswd
Require valid-user
My htpasswd file contains something like this:
MichaelGrant:xyzxyzxyzxyz
and the virtualhost entry in httpd.conf looks like this:
<VirtualHost trac.example.not>
SuexecUserGroup mgrant mgrant
DocumentRoot /home/www/trac/docroot
ServerName trac.example.not
ErrorLog /home/www/trac/log/error_log
ScriptAlias /cgi-bin "/home/www/trac/cgi-bin"
</VirtualHost>
I am using the generic out of the box trac.ini.sample, though I have
also tried with these modifications (domain name substituted was
example.not):
16c16
< log_file = /home/www/trac.example.not/log/trac.log
---
> log_file = trac.log
18c18
< log_type = file
---
> log_type = none
30c30
< base_url = http://trac.example.not/
---
> base_url =
36c36
< repository_dir = /home/www/trac.example.not/docroot/svn
---
> repository_dir =
102c102
< url = http://trac.example.not/
---
> url = http://example.org/
111,115d110
< [components]
< ctxtnavadd.* = enabled
< wikinotification.* = enabled
Michael Grant
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---