The mod_cidr_lookup is an Apache module for version 2.2 and 2.0. The mod_cidr_lookup detects client type by looking up the client's source IP address in CIDR blocks. This module sets the environment variable X_CLIENT_TYPE and the HTTP request header X-Client-Type, so it can be used in both Apache (httpd.conf) and Web applications. License: The Apache License 2.0 Changes:
The hook point "ap_hook_post_read_request" was added so that mod_cidr_lookup and SetEnvIf will work fine together in a server or virtual host context.
Session::Informix(3) User Contributed Perl Documentation Session::Informix(3)NAME
Apache::Session::Informix - An implementation of Apache::Session
SYNOPSIS
use Apache::Session::Informix;
#if you want Apache::Session to open new DB handles:
tie %hash, 'Apache::Session::Informix', $id, {
DataSource => 'dbi:Informix:sessions',
UserName => $db_user,
Password => $db_pass,
Commit => 1
};
#or, if your handles are already opened:
tie %hash, 'Apache::Session::Informix', $id, {
Handle => $dbh,
Commit => 1
};
DESCRIPTION
This module is an implementation of Apache::Session. It uses the Informix backing store and no locking. See the example, and the
documentation for Apache::Session::Store::Informix for more details.
USAGE
The special Apache::Session argument for this module is Commit. You MUST provide the Commit argument, which instructs this module to
either commit the transaction when it is finished, or to simply do nothing. This feature is provided so that this module will not have
adverse interactions with your local transaction policy, nor your local database handle caching policy. The argument is mandatory in order
to make you think about this problem.
This module also respects the LongReadLen argument, which specifies the maximum size of the session object. If not specified, the default
maximum is 8 KB.
AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org>.
SEE ALSO
Apache::Session::File, Apache::Session::Flex, Apache::Session::DB_File, Apache::Session::Postgres, Apache::Session
perl v5.12.1 2007-09-28 Session::Informix(3)