2.1 Authentication Project

Available Languages: en
| Description: | User authentication Caching |
|---|---|
| Status: | External |
| Module Identifier: | authn_cache |
| Source File: | mod_authn_cache.c |
| Compatibility: | Apache 2.1 or greater |
The module mod_authn_cache caches authentication information generated from other modules
mod_authn_cache uses the "configure/make/make install"
mechanism
common to many Open Source programs.
Most of the dirty work is handled by either configure or
Apache's apxs utility. If you have built apache modules before, there
shouldn't be any surprises for you.
Before you can begin compiling mod_authn_cache, you will need a
working installation of Apache 2.1-dev (any earlier version,
including Apache 2.0.x will NOT work).
The interesting options you can pass to configure are:
--with-apxs=/path/to/apache/dir/bin/apxs
This option is used to specify the location of the apxs utility that was installed as part of apache. Specify the location of the binary, not the directory it is located in.
Call configure with your site-specific values and then "make" and "make install" as usual. The module will be installed in the module directory of your Apache installation.
Again mod_authn_cache behave like your average next-door
Apache module. Just add
LoadModule authn_cache_module modules/mod_authn_cache.so
to your httpd.conf as usual and restart Apache.
Draft...
<Location /secure-area>
AuthType Basic
AuthName "basic authn_cache testing area"
AuthBasicProvider cache
AuthnCacheProvider file
AuthnCacheType shmht:logs/authn_cache.shm(10000)
AuthUserFile .htpasswd
Require valid-user
</Location>
| Description: | Name of the Authentication Provider |
|---|---|
| Syntax: | AuthnCacheProvider AuthnProvider |
| Default: | none |
| Context: | .htaccess |
| Status: | External |
| Module: | mod_authn_cache |
| Description: | Type of Global Cache |
|---|---|
| Syntax: | AuthnCacheType shmht:file(size) |
| Default: | none |
| Context: | .htaccess |
| Status: | External |
| Module: | mod_authn_cache |
Available Languages: en