How to allow access under /apps?

pankajc23172579

08-12-2019

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?

Accepted Solutions (1)

Accepted Solutions (1)

Vish_dhaliwal

Employee

08-12-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

Answers (3)

Answers (3)

BrianKasingli

MVP

23-12-2019

Hey @pankajc23172579,

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.

ArpitVarshney

MVP

08-12-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