Some configured paths are not being processed by the AEM Dispatcher

Issue

In Apache Web Server, where the dispatcher module is installed, some requests are returning 404 while others are working.

Those requests do not even get logged in the dispatcher.log file (even when debug logging is enabled).

Environment

AEM 6.x

Cause

The dispatcher-handler isn't set on those paths or for the hostname (i.e. VirtualHost => ServerName or ServerAlias).

Resolution

  1. Make sure that the directive below is applied to the VirtualHost that processes the affected request URLs:

    <IfModule disp_apache2.c>
        SetHandler dispatcher-handler
    </IfModule>

  2. If it is being processed via the correct VirtualHost then check if you have configured dispatcher-handler only under specific paths.  For example:

    <Location /etc.clientlibs>
      <IfModule disp_apache2.c>
        SetHandler dispatcher-handler
      </IfModule>
    </Location>

  3. Add more Location directives to fix the issue

 Adobe

Krijg sneller en gemakkelijker hulp

Nieuwe gebruiker?

Adobe MAX 2024

Adobe MAX
De creativiteitsconferentie

14–16 oktober Miami Beach en online

Adobe MAX

De creativiteitsconferentie

14–16 oktober Miami Beach en online

Adobe MAX 2024

Adobe MAX
De creativiteitsconferentie

14–16 oktober Miami Beach en online

Adobe MAX

De creativiteitsconferentie

14–16 oktober Miami Beach en online