Skip to content

clustericious/PlugAuth-Client-Tiny-Apache2AuthzHandler

Repository files navigation

PlugAuth::Client::Tiny::Apache2AuthzHandler Build Status

Apache authorization handler for PlugAuth

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

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.

About

Apache authorization handler for PlugAuth

Resources

Stars

Watchers

Forks

Packages

No packages published