On Jul 11, 5:02 am, blackfin <[EMAIL PROTECTED]> wrote:
> It appears that if I have a pre-existing anonymous session, I cannot
> complete the login sequence. The session does not get promoted. If I
> delete the trac_session cookie, and hit login again, then session
> promotion works, and the 'logged in as <userid>' mesg appears,
> trac_auth cookie gets created, etc.
>
> The userid does exist in the htpasswd file, Apache auth works as
> expected, userid does have TRAC_ADMIN privileges, etc.
>
> This is a 0.11 Trac env with MySQL 5.0.41, usingmod_wsgion Apache
> 2.2.4. I am using it on a server without a FQDN, on a virtual host -
>
> <VirtualHost *:9137>
> DocumentRoot /usr/local/trac/blackfin/project/apache
> ServerName trac.fedora6
> DirectoryIndex index.php
> ErrorLog logs/trac-error_log
> CustomLog logs/trac-access_log common
>
> <Directory "/usr/local/trac/blackfin/project/apache/">
> WSGIApplicationGroup %{GLOBAL}
> Order deny,allow
> Allow from All
> </Directory>
>
> <Location /trac/login>
> AuthType Basic
> AuthName "Trac"
> AuthUserFile /usr/local/apache/passwd/passwords
> Require valid-user
> </Location>
> </VirtualHost>
>
> any help, hints, tips, etc. appreciated...
Which version of mod_wsgi out of subversion are you using?
There was an issue fixed 1st July with it not passing back all cookies
set by an application and it was specifically affecting Trac login
mechanism you are relying on. The fix was in r321. If you are using
older version of mod_wsgi try:
svn update -r 321
Rebuild and reinstall.
Hold off using actual head of repository right now as issue just
brought to my attention with some newer changes than that. New issue
only affecting first attempt to build on Windows at this point, but
safer not to use head in case it has wider impact.
Any further issues, might be better to come over to the mod_wsgi
Google group.
Graham
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---