Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Question Dispatcher configuration

Avatar

Level 2

Hi, I'm trying to understand how dispatcher works, I don't know if someone can help me with this specific question.

 

For example, I have a farm, in this farm I can set /filter for my author instance. If, for example, I deny my filter all pages ending in .html, then, from my author, I could not access any page that ends in .html? That's how it works?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @juancarlos2022 

Yes thats the way it works.

There are different pattern to deny or allow http request

 

Example:

Allow/Deny URL

    /0023 { /type "allow" /url "/content*" }

Allow/Deny with url ,extension and selectors

 /0081
        {
        /type "deny"
        /selectors '((sys|doc)view|query|[0-9-]+)'
        /extension '(json|xml)'
        }

 

For more pattern and best practice please refer below

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-c...

 

 

Best practice is to Whitelist in dispatcher the filter rules..I mean deny all and then open which ever you want to allow.Thats the best practice for dispatcher filter rules.

Refer

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @juancarlos2022 

Yes thats the way it works.

There are different pattern to deny or allow http request

 

Example:

Allow/Deny URL

    /0023 { /type "allow" /url "/content*" }

Allow/Deny with url ,extension and selectors

 /0081
        {
        /type "deny"
        /selectors '((sys|doc)view|query|[0-9-]+)'
        /extension '(json|xml)'
        }

 

For more pattern and best practice please refer below

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-c...

 

 

Best practice is to Whitelist in dispatcher the filter rules..I mean deny all and then open which ever you want to allow.Thats the best practice for dispatcher filter rules.

Refer