You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2011/09/20 20:11:48 UTC
Re: [OT] Example to logout on Tomcat 7 and SSL + Realm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
André,
On 9/20/2011 2:01 PM, Christopher Schultz wrote:
> I had to use mod_asis and stick this file ("logout") on my disk:
>
> Status: 401 Unauthorized WWW-Authenticate: Basic realm="My Realm"
Here is my config if anyone is interested:
<Location "/logout">
SetHandler send-as-is
ErrorDocument 401 /logout.html
</Location>
<Location "/logout.html">
Order allow,deny
Allow from all
Satisfy Any
</Location>
The logout.html file contains a link back to a "regular" page that
will request credentials and then NOT log you out.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk5412QACgkQ9CaO5/Lv0PBk9wCfftuSM8gA33DfNNX97yLNeVgy
D4AAoIf2Pu5hf0oTa5605lLTF+OJEUcI
=Qb90
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org