Solved
Caching Secured Content issue
Hi Team,
We are using Caching Secured Content for protecting secured content, currently we are observing two issues
- It is working for pages but not for DAM (for /content/dam/.. servlet is not hitting)
- Not working in all Cloud servers.
- Working in few local systems not in few (same version, code and config).
- First time if we access the protected/secured page, request is not going via Auth Servlet (all users able to access), from second request (or refresh) it is working as expected (request is going via auth servlet).
Below is the auth checker config.
/auth_checker {
# request is sent to this URL with '?uri=<page>' appended
/url "/bin/securedcontentauth"
# only the requested pages matching the filter section below are checked,
# all other pages get delivered unchecked
/filter {
/0000 {
/glob "*"
/type "deny"
}
/0001 {
/glob "/content/mysite/us/en/*private*"
/type "allow"
}
/0002 {
/glob "/content/dam/mysite/private/*"
/type "allow"
}
}
# any header line returned from the auth_checker's HEAD request matching
# the section below will be returned as well
/headers {
/0000 {
/glob "*"
/type "deny"
}
/0001 {
/glob "Set-Cookie:*"
/type "allow"
}
}
}