NAME

    PlugAuth::Client::Tiny::Apache2AuthzHandler - Apache authorization
    handler for PlugAuth

VERSION

    version 0.02

SYNOPSIS

    In your httpd.conf:

     <Location /protected>
       PerlAuthenHandler PlugAuth::Client::Tiny::Apache2AuthenHandler
       PerlAuthzHandler  PlugAuth::Client::Tiny::Apache2AuthzHandler
       AuthType Basic
       AuthName "My Protected Documents"
       Require valid-user
       PerlSetEnv PLUGAUTH_URL http://localhost:3001
     </Location>

DESCRIPTION

    This module provides PlugAuth authentication (via PlugAuth::Tiny) for
    your legacy Apache2 application.

ENVIRONMENT

 PLUGAUTH_URL

     PerlSetEnv PLUGAUTH_URL http://localhost:3001

    Specifies the URL for the PlugAuth server to authenticate against.

 PLUGAUTH_PREFIX

     PerlSetEnv PLUGAUTH_PREFIX /myprefix

    Specifies a prefix for resource authorization requests. What that means
    is that if you set PLUGAUTH_PREFIX to /myprefix as above, then when a
    client requests a path such as /myrequestpath the authentication
    request to PlugAuth will be for the resource /myprefix/myrequestpath.

SEE ALSO

    PlugAuth::Client::Tiny::Apache2AuthenHandler

      For authentication.

    PlugAuth

      Server to authenticate against.

    PlugAuth::Client::Tiny

      Simplified PlugAuth client.

    Alien::Apache24 <https://github.com/plicease/Alien-Apache24>

      For testing

AUTHOR

    Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

    This software is copyright (c) 2015 by Graham Ollis.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

