Resource at '/' not found: No resource found | Community
Skip to main content
Love_Sharma
Level 4
January 15, 2021
Solved

Resource at '/' not found: No resource found

  • January 15, 2021
  • 2 replies
  • 15190 views

Dear Members,

 

I tried adding custom values to below AEM config under /apps/*/config

org.apache.sling.engine.impl.auth.SlingAuthenticator

org.apache.sling.servlets.resolver.SlingServletResolver

And whenever I restart my instance, I get Resource at '/' not found: No resource found  and also when I logout from home screen, same error.

 

Also, when I go to http://localhost:4502/crx/de/index.jsp# and login from CRX, I am back in session.

 

Any help appreciated.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

If you get that message it seems that you broke/misconfigured the authentication system.

2 replies

Vijayalakshmi_S
Level 10
January 18, 2021

Hi @love_sharma,

Please provide the details of properties that are modified as part of the mentioned configs. (Sling Authenticator and Sling Servlet resolver) and reason for the same/functionality you are trying to achieve.

joerghoh
Adobe Employee
Adobe Employee
January 23, 2021
@love_sharma I would not add a path below /content into the execution paths of the Sling Servlet Resolver configuration. Because Sling is looking there for scripts/servlets resolving resourcetype. An attack vector could be, that an author creates a component node structure below /content (where the author has write permission), and creates a page referencing that component. With this approach it's possible for the author to execute custom code and on the server.
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
January 18, 2021

If you get that message it seems that you broke/misconfigured the authentication system.