Expand my Community achievements bar.

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!