Projects / mod_cidr_lookup


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.

Operating Systems

Recent releases

  •  16 Sep 2008 11:57

    Release Notes: 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.

    •  12 Sep 2008 13:02

      Release Notes: This release moves the ap_hook point from fixups to header_parser because mod_cidr_lookup must be performed before mod_setenvif if you refer to an environment variable with a SetEnvIf directive.

      •  27 Aug 2008 10:30

        No changes have been submitted for this release.


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.