[Trac-tickets] [The Trac Project] #2350: Can't logout when using auth for whole site

The Trac Project noreply at edgewall.com
Mon Nov 14 06:12:46 CST 2005


#2350: Can't logout when using auth for whole site
---------------------------------------+------------------------------------
 Reporter:  robin-trac at robinbowes.com  |       Owner:  jonas
     Type:  defect                     |      Status:  new  
 Priority:  high                       |   Milestone:       
Component:  general                    |     Version:  0.9  
 Severity:  normal                     |   Keywords:                             |  
---------------------------------------+------------------------------------
 I've set up a trac install and require authentication for the whole site.

 I'm using trac with apache2 + mod_python.



 My config is as follows:

     # Re-direct from / to /trac
     RewriteEngine On
     RewriteRule ^/+$ /trac [R]

     Alias /trac/ /usr/share/trac/htdocs/
     <Directory "/usr/share/trac/htdocs">
         Order allow,deny
         Allow from all
     </Directory>

     <Location /trac>
         SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
         PythonOption TracEnvParentDir "/var/www/trac/"
         PythonOption TracUriRoot /trac
     </Location>

     <Location />
         AuthType Basic
         AuthName "Projects"
         AuthUserFile /etc/httpd/conf.d/auth/htpasswd
         Require valid-user
     </Location>

 This works OK, i.e. users must login to get access to any part of the
 site.

 However, the "logout" link doesn't work.

 I'd like for users to be able to logout. This should revoke their browser
 authentication and force them to login again.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2350>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list