Redirecting default error page | Community
Skip to main content
March 29, 2021
Solved

Redirecting default error page

  • March 29, 2021
  • 1 reply
  • 1182 views

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.

 

Default Error Page

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Asutosh_Jena_

Hi @ariesyinn 

Please add the below rule and it will be fixed.

 

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

 

Hope this helps!

Thanks! 

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
March 29, 2021

Hi @ariesyinn 

Please add the below rule and it will be fixed.

 

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

 

Hope this helps!

Thanks! 

ariesyinnAuthor
March 29, 2021
Thanks. @asutosh_jena_. It works.