Opened 19 years ago
Last modified 18 years ago
#2350 closed defect
Can't logout when using auth for whole site — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | 0.9 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
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.