How to allow access under /apps? | Community
Skip to main content
December 8, 2019
Solved

How to allow access under /apps?

  • December 8, 2019
  • 4 replies
  • 3212 views

Hi everyone,

Recently I've added /filter01 { /type "allow"  /url "/apps/*" } but the browser still gives me 404 error on dispatcher.

Am I doing something wrong?

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 vish.dhaliwal

Hello,

The paramater to allow access seems correct. But you need to check what other filters you have above of this filter. The basic rule is to deny access to everything, then allow access to specific requests.

/0001 { /type "allow" /url "/apps/*" }

Check the dispacther debug logs. Can you access it directly on author/publish instance?

Regards,

Vishu

4 replies

vish.dhaliwalAdobe EmployeeAccepted solution
Adobe Employee
December 8, 2019

Hello,

The paramater to allow access seems correct. But you need to check what other filters you have above of this filter. The basic rule is to deny access to everything, then allow access to specific requests.

/0001 { /type "allow" /url "/apps/*" }

Check the dispacther debug logs. Can you access it directly on author/publish instance?

Regards,

Vishu

ArpitVarshney
Community Advisor
Community Advisor
December 9, 2019

Hi Pankaj

In addition to above, Can you make sure whether the appropriate user (anonymous or logged In user) has sufficient(read) access to /apps directory through /useradmin console?

Regards,

Arpit Varshney

Ankur_Khare
Community Advisor
Community Advisor
December 9, 2019

Is your request coming to cq instance if yes could you please check the cq logs ..

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 23, 2019

Hey @17345362,

The answer to your problem will be:

1. Dispatcher: /0069 { /type "allow" /url "/apps/*" }

2. Allow permissions for the "anonymous" and "everyone" user groups have READ permissions to the /apps/* path.
3. Read ./crx-quickstart/logs/error.log (you should see very valuable information here).

I hope whatever you are trying to achieve is for non-production, testing, and educational purpose only.

Can you please explain why you are trying to expose the /apps folder structure to the public? It's best practice not to expose the /apps folder because security reasons recommended by Adobe.