Score:0

Can DispatcherPassError be set selectively for some URLs in AEM?

cn flag

In AEM (Adobe Experience Manager) Dispatcher configuration, can the directive DispatcherPassError be set only to requests with some specific selector in the URL? I'd like the dispatcher to return a servlet response untouched for some requests and pass the rest to Apache with its ErrorDocument etc. directives. Is it possible?

I tried adding RewriteCond before ErrorDocument directives to exclude some URLs, but it did not work. The conditions seem to be working only when DispatcherPassError allows error handling by Apache.

I tried also adding some pattern matching before the DispatcherPassError directive, like <FilesMatch> or <LocationMatch>, but Apache complained that such directives are not allowed here.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.