Dear community,
I was trying to deploy the custom login page but the page only load login.jsp without the clientlib.
I've checked that:
1. Clientlib "categories" property was modified
2. Paths were modified in "apps/granite/core/components/login/login.jsp"
3. Requirement was added in Apache Sling Authentication Service
As I manually added the core folder (originally from libs/granite) under "apps/granite" and did the settings above, "apps/granite/core/content/login" folder was successfully accessed.
However, as I packed this "apps/granite/core" node and deployed it again, the folder went missing.
Would like to know if I should also pack some other nodes with "apps/granite/core", or what should I do to make this work?
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
@YuSheng You are proabably missing allowproxy property-
allowProxy
: If a client library is located under /apps
, this property allows acces to it via proxy servlet.
In order for the client libraries under /apps
to be accessible, a proxy servelt is used. The ACLs are still enforced on the client library folder, but the servlet allows for the content to be read via /etc.clientlibs/
if the allowProxy
property is set to true
.
Have you tried using
allowProxy="{Boolean}true"
@YuSheng You are proabably missing allowproxy property-
allowProxy
: If a client library is located under /apps
, this property allows acces to it via proxy servlet.
In order for the client libraries under /apps
to be accessible, a proxy servelt is used. The ACLs are still enforced on the client library folder, but the servlet allows for the content to be read via /etc.clientlibs/
if the allowProxy
property is set to true
.
Hi @Sady_Rifat and @Manu_Mathew_
I tried adding the allowProxy true property and clientlib was accessed:
You both offered the right solution and Manu's explanation is more detailed so I marked it accecpted.
Thank both of you for the help!
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies