Query: apache::authcookie::faq
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Apache::AuthCookie::FAQ(3pm) User Contributed Perl Documentation Apache::AuthCookie::FAQ(3pm)NAMEApache::AuthCookie::FAQ - Frequently Asked Questions about Apache::AuthCookie.VERSIONversion 3.18DESCRIPTIONThis document serves to answer the most frequently asked questions about Apache::AuthCookie. How can I protect an entire site (/) with Apache::AuthCookie? You have to give an Apache "require" directive that applies to all requests for except for your login handler. The easiest way to do this is to override the auth handlers for your login script. For example, if your login handler is "/LOGIN", then you need to use something like the following: <Location /> AuthType My::AuthCookieHandler AuthName Whatever PerlAuthenHandler My::AuthCookieHandler->authenticate PerlAuthzHandler My::AuthCookieHandler->authorize require valid-user </Location> <Location /LOGIN> PerlAuthenHandler Apache2::Const::OK PerlAuthzHandler Apache2::Const::OK </Location> ...NAMEApache::AuthCookie::FAQ - Frequently Asked Questions about Apache::AuthCookie.AUTHORMichael Schout <mschout@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2000 by Ken Williams. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.BUGSPlease report any bugs or feature requests to bug-apache-authcookie@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-AuthCookie perl v5.12.3 2011-05-09 Apache::AuthCookie::FAQ(3pm)