Redirecting default error page

Avatar

Avatar
Boost 1
Level 1
ariesyinn
Level 1

Like

1 like

Total Posts

33 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Validate 1
View profile

Avatar
Boost 1
Level 1
ariesyinn
Level 1

Like

1 like

Total Posts

33 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Validate 1
View profile
ariesyinn
Level 1

29-03-2021

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

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

29-03-2021

Hi @ariesyinn 

Please add the below rule and it will be fixed.

 

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

 

Hope this helps!

Thanks! 

Answers (0)