Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Getting "Filter rejects" in dispatcher logs

Avatar

Level 4

While trying to hit the login page "/libs/granite/core/content/login.html"  getting filter rejects error, even though the filter is allowed in publish farm. unable to access any content pages also. What else can be the possible reason for this ? We are using Apache 2.4.

Publish farm

30 # allow non-public content directories

31 #    /0021 { /type "allow" /glob "* /apps/*"   }  # allow apps access

32 #    /0022 { /type "allow" /glob "* /bin/*"    }

33 /0021 { /type "allow" /glob "* /libs/granite/csrf/*" }

34 /0022 { /type "allow" /glob "* /content*" }

114 # enable login

115 /0135 { /type "allow" /glob "* */login.html" }  # login

1 Accepted Solution

Avatar

Correct answer by
Employee

The rules looks odd, Can you add [1] (or limit to something more specific) to end of the filter section and retry. Extra asterisk should be removed which seems to be some leftover of the now deprecated glob rule in Dispatcher module

/0141 { /type "allow" /url "*/libs/granite/core/content*” }

View solution in original post

4 Replies

Avatar

Employee

Can you share the complete dispatcher.any along with TRACE level logs for dispatcher ?

Avatar

Level 4

Please try a * after login.html in the glob pattern,, that should do the trick.

/0135 { /type "allow" /glob "* */login.html*" }

Avatar

Correct answer by
Employee

The rules looks odd, Can you add [1] (or limit to something more specific) to end of the filter section and retry. Extra asterisk should be removed which seems to be some leftover of the now deprecated glob rule in Dispatcher module

/0141 { /type "allow" /url "*/libs/granite/core/content*” }