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

SOLVED

Redirecting default error page

Avatar

Level 4

Hi all,

I have fixed  security issues in AEM (6.2) Dispatcher. The first three fixes redirect to the default error page, but the following url (https://mydomain/bin/querybuilder.json.css ) doesn't redirect to the default error page and it redirects to Access forbidden! page as below. Dispatcher is /0022 {/type "deny" /method "GET" /url "bin/querybuilder.json.css"}. How can I redirect to my default error page?

 

How can I redirect 'Access forbidden!' page to default error page.

ariesyinn_0-1617010596112.jpeg

 

Default Error Page

ariesyinn_1-1617010682961.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ariesyinn 

Please add the below rule and it will be fixed.

 

/0022 { /type "deny" /url "/bin/*.css" }

 

Hope this helps!

Thanks! 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @ariesyinn 

Please add the below rule and it will be fixed.

 

/0022 { /type "deny" /url "/bin/*.css" }

 

Hope this helps!

Thanks!