Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to change URL path for Disptacher GET method

Avatar

Level 5

Hi,

The dispatcher.log shows that the 'GET' method is trying to access the path /etc.clientlibs/... instead of /etc/clientlibs/... 

Please note that there is a period instead of  '/'. Where in the configuration settings, CRX resource type, dispatcher.any, IIS Manager or any other location is the dispatcher getting this URL?

[Tue May 11 12:13:59 2021] [I] [pid 1840 (tid 4032)] "GET /content/profiles/htmlForm.html?contentRoot=crx:///content/dam/formsanddocuments/publicforms&template=PFC0019.xdp" 200 none [publish/rend01] 155ms
[Tue May 11 12:13:59 2021] [D] [pid 1840 (tid 4032)] Found farm publish for localhost
[Tue May 11 12:13:59 2021] [D] [pid 1840 (tid 4032)] checking [/etc.clientlibs/fd/xfaforms/clientlibs/profile.min.css]
[Tue May 11 12:13:59 2021] [D] [pid 1840 (tid 4032)] cache-action for [/etc.clientlibs/fd/xfaforms/clientlibs/profile.min.css]: DELIVER
[Tue May 11 12:13:59 2021] [D] [pid 1840 (tid 4032)] request declined

Thanks,

Leena

1 Accepted Solution

Avatar

Correct answer by
Employee

/etc.clientlibs/... is the correct "new path prefix". This denotes that the CSS/JS/Static resources are in a client library that has allowProxy set to true. These "proxied" clientlibs exist under either /apps or /libs (as they are code, and code should be in /apps or /libs).

 

If you see these requests getting blocked by dispatcher, you should add allow rules to let them through.


HTH!

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

/etc.clientlibs/... is the correct "new path prefix". This denotes that the CSS/JS/Static resources are in a client library that has allowProxy set to true. These "proxied" clientlibs exist under either /apps or /libs (as they are code, and code should be in /apps or /libs).

 

If you see these requests getting blocked by dispatcher, you should add allow rules to let them through.


HTH!

Avatar

Level 5

Hi David,

Yes, you are right. The etc.clientlibs and few other folders were not explicitly marked as allowed in the dispatcher.any file. I also had to make modification to the web.config to match a specific URL that can be re-written/redirected to a URL that can point to the form in the Publisher.

Thanks,

Leena