Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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

1 Reply

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