Disable authentication

45 views
Skip to first unread message

matth

unread,
Oct 27, 2010, 10:43:47 AM10/27/10
to mod_auth_pubtkt users
Hi there,

Been using the module with great success for a few months now, still
very impressed!

One feature I'm not sure might already exist is to be able to turn off
authentication for certain URL's? Currently I am turning on
authentication in Apache like this ...

<Location ~ /(foo|bar|baz)>

Order Allow,Deny
Allow from all
AuthType mod_auth_pubtkt

TKTAuthLoginURL /users/login
TKTAuthTimeoutURL /users/timeout
TKTAuthRefreshURL /users/refresh
TKTAuthBackArgName "ptrt"

require valid-user

</Location>

It would be preferable for my particular application to turn on
authentication for every URL by default and then disable it when
needed, e.g. for static files and the login urls.

Any idea if this is possible?

Cheers,

Matt

matth

unread,
Oct 27, 2010, 11:13:11 AM10/27/10
to mod_auth_pubtkt users
Oops, sorry I think I have answered my own question here!

<Location /users/login>
Satisfy Any
</Location>
Reply all
Reply to author
Forward
0 new messages