Skip to content

Instantly share code, notes, and snippets.

@auniverseaway
Last active March 8, 2017 18:41
Show Gist options
  • Save auniverseaway/2e0ba11ad38c871eeb8b43d5bf3779da to your computer and use it in GitHub Desktop.
Save auniverseaway/2e0ba11ad38c871eeb8b43d5bf3779da to your computer and use it in GitHub Desktop.
AEM Dispatcher HTTPD Conf
LoadModule dispatcher_module modules/mod_dispatcher.so
<IfModule disp_apache2.c>
DispatcherConfig conf/dispatcher.any
DispatcherLog logs/dispatcher.log
DispatcherLogLevel warn
DispatcherDeclineRoot Off
DispatcherUseProcessedURL Off
# if turned to 1, the dispatcher does not spool an error
# response to the client (where the status code is greater
# or equal than 400), but passes the status code to
# Apache, which e.g. allows an ErrorDocument directive
# to process such a status code.
#
# Additionally, one can specify the status code ranges that should
# be left to web server to handle, e.g.
#
# DispatcherPassError 400-404,501
DispatcherPassError 1
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment