Supported Apache Modules

See Supported Apache Modules.

Local validation

NOTE
The sections below include commands using either the Mac or Linux® versions of the SDK, but the Windows SDK can also be used in a similar way.

Use the validate.sh script as shown below:

$ validate.sh src/dispatcher
opt-in USE_SOURCES_DIRECTLY marker file detected
Phase 1: Dispatcher validator
Cloud manager validator 2.0.32
Phase 1 finished
Phase 2: httpd -t validation in docker image
values.csv not found in deployment folder: /Users/foo/src - using files in 'conf.d' and 'conf.dispatcher.d' subfolders directly
processing configuration subfolder: conf.d
processing configuration subfolder: conf.dispatcher.d
Running script /docker_entrypoint.d/10-check-environment.sh
Running script /docker_entrypoint.d/20-create-docroots.sh
Running script /docker_entrypoint.d/30-wait-for-backend.sh
Waiting until localhost is available
localhost resolves to ::1
Running script /docker_entrypoint.d/40-generate-allowed-clients.sh
Running script /docker_entrypoint.d/50-check-expiration.sh
Running script /docker_entrypoint.d/60-check-loglevel.sh
Running script /docker_entrypoint.d/70-check-forwarded-host-secret.sh
# Dispatcher configuration: (/etc/httpd/conf.dispatcher.d/dispatcher.any)
/farms {

...

}
Syntax OK
Phase 2 finished
Phase 3: Immutability check
reading immutable file list from /etc/httpd/immutable.files.txt

...

no immutable file has been changed - check is SUCCESSFUL
Phase 3 finished

The script has the following three phases:

  1. It runs the validator. If the configuration is not valid, the script fails.
  2. It executes the httpd -t command to test if the syntax is correct such that Apache httpd can start. If successful, the configuration should be ready for deployment.
  3. Checks that the subset of the Dispatcher SDK configuration files, which are intended to be immutable as described in the File structure section, has not been modified and match the current SDK version.

During a Cloud Manager deployment, the httpd -t syntax check is run as well and any errors are included in the Cloud Manager Build Images step failure log.

NOTE
See the Automatic reloading and validation section for an efficient alternative to running validate.sh after each configuration modification.