Getting "Filter rejects" in dispatcher logs | Community
Skip to main content
Level 3
Mar 21, 2018 1:07 PM UTC
Solved

Getting "Filter rejects" in dispatcher logs

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
KunwarsalujaAccepted solution
Employee
Mar 22, 2018 9:44 PM UTC

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*” }

4 replies

KunwarsalujaAccepted solution
Employee
Mar 22, 2018 9:44 PM UTC

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*” }

Translate
Level 3
Mar 22, 2018 5:21 AM UTC

Sure Kunwar​. I will inbox the files.

Translate
Rima_Mittal
Level 4
Mar 21, 2018 7:01 PM UTC

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

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

Translate
Employee
Mar 21, 2018 4:17 PM UTC

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

Translate