Section – Apache
Airlock Gateway allows configuration of Apache expert settings that directly affect the doorway Apache server. These settings are added to the httpd.conf file and have the same syntax as Apache directives. Apache expert settings overwrite the default directives set by Airlock Gateway.
Apache expert settings can be configured in three different places. Depending on the location, directives from different Apache contexts are allowed:
- global: directives from Apache context “server config” are applicable. Configurable under “Expert Settings -> Security Gate / Apache”.
- virtual host: directives from Apache context “virtual host” are applicable. Configurable in the “Expert Settings” tab of the virtual host.
- mapping: directives from Apache context “directory” are applicable. Configurable in the “Expert Settings” tab of the mapping.
Apache expert settings are not validated. Syntax errors will prevent the httpd service from starting or restarting.
Priority of contexts
Depending on the Apache context in which a directive is defined, it can be overridden by directives in a more specific context:
- Directives in the
virtual hostcontext override directives in theserver configcontext. - Directives in the directory context override directives in the
virtual hostandserver configcontexts.
Examples
Adaption of the Apache log level | The log level can be changed as follows (applicable globally and per virtual host): Example LogLevel debug The logs can be found in the Log Viewer |
SSL protocol/cipher settings | |
Maintenance Window | A scheduled maintenance window e.g. between Example RewriteOptions InheritDownBefore
RewriteCond expr "%{TIME} -gt 20211031194000"
RewriteCond expr "%{TIME} -lt 20211102163000"
RewriteRule !^/error_path /error_path/maintenance.html [QSD,R=303,L]For a RewriteRule whose rewritten URL does not refer to the error path, the redirect flag or the passthrough flag must be set. If possible, use Path redirects instead of custom rewrite rules. |
Certificate Allowlisting | To put a client certificate onto the allowlist, add the following setting (only applicable on mappings): Example SSLRequire %{SSL_CLIENT_M_SERIAL} in {"005","015","019"} |
