In AEM dipatcher we have two farms one for author and one for publish. On publish farm I wanted to restrict few of the content pages to be accessed by the direct requests.
For that we have a vhost and we want only that vhost to access the content pages. But before that I wanted to test how filters are going to work.
This is my filter config in dispatcher.any
/filter
{
# deny everything and allow specific entries
/0001 {/type "allow" /glob "*"}
/0002 {/type "deny" /glob "* content *"}
}
tried
/0002 {/type "deny" /url "*/content*"}
And also
/0002 {/type "deny" /glob "*/content*"}
I can see the dispatcher is serving Cached Pages : Cache-action for requested pages is : DELIVER
Can some one please help how to address this issue. I can add more details.