For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HUMAN DashboardHUMAN WebsiteRequest a Demo
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
  • General
    • About Enforcers
    • Support first-party HUMAN calls
    • Troubleshoot Enforcer configurations
  • Enforcer frameworks
    • Akamai ESI
    • Apache - C Module
      • Apache changelog
      • Module Configuration
      • Configuration Options
      • First Party Configuration
    • ASP.NET
    • Callout Enforcer
    • Envoy Proxy
    • F5 BIGIP
    • Fastly JavaScript Compute@Edge
    • Google Cloud Platform (GCP) Callout Enforcer
    • Kong Plugin
    • NGINX - C Module
    • NGINX - LUA Module
    • PHP
    • Python
    • Ruby
    • Salesforce Commerce Cloud Cartridge
LogoLogo
Login
Login
HUMAN DashboardHUMAN WebsiteRequest a Demo
On this page
  • Required Apache Configuration
  • Apache Configuration Example
Enforcer frameworksApache - C Module

Module Configuration

Was this page helpful?
Previous

Configuration Options

Next
Built with

Required Apache Configuration

The following Apache Configurations are required to support the HUMAN Apache module:

  • px_enabled
  • px_appId
  • px_cookie_secret
  • px_auth_token
$# == Required Parameters ==
$px_enabled On
$px_appId <PX_APP_ID>
$px_auth_token <PX_AUTH_TOKEN>
$px_cookie_secret <COOKIE_ENCRYPTION_KEY>
  • px_appId - The HUMAN custom application id in the format of PX**__** .
  • px_cookie_secret - The key used by the cookie signing page. The Cookie Key is generated in the HUMAN Portal Policy page.
  • px_auth_token - The JWT token for REST API. The Authentication Token is generated in HUMAN Portal the Platform Settings -> Application page.

Apache Configuration Example

The following default.conf example contains the minimum required configuration for the HUMAN Apache module:

$<VirtualHost *:80>
$
$px_enabled On
$px_appId APP_ID
$px_cookie_secret COOKIE_SECRET
$px_auth_token AUTH_TOKEN
$
$ServerAdmin webmaster@localhost
$DocumentRoot /var/www/html
$
$# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
$# error, crit, alert, emerg.
$# It is also possible to configure the loglevel for particular
$# modules, e.g.
$#LogLevel info ssl:warn
$
$ErrorLog ${APACHE_LOG_DIR}/error.log
$CustomLog ${APACHE_LOG_DIR}/access.log combined
$
$# For most configuration files from conf-available/ that are
$# enabled or disabled at a global level it is possible to
$# include a line for only one particular virtual host. For example, the
$# following line enables the CGI configuration for this host only
$# after it has been globally disabled with "a2disconf".
$#Include conf-available/serve-cgi-bin.conf
$</VirtualHost>