Redirecting default error page | Community
Skip to main content
Level 3
Mar 29, 2021 9:41 AM UTC
Solved

Redirecting default error page

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.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Mar 29, 2021 9:51 AM UTC

Hi @ariesyinn 

Please add the below rule and it will be fixed.

 

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

 

Hope this helps!

Thanks! 

3 replies

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Mar 29, 2021 9:51 AM UTC

Hi @ariesyinn 

Please add the below rule and it will be fixed.

 

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

 

Hope this helps!

Thanks! 

Translate
ariesyinnAuthor
Level 3
Mar 29, 2021 10:42 AM UTC
Thanks. @asutosh_jena_. It works.
Translate