How to change URL path for Disptacher GET method | Community
Skip to main content
New Participant
May 3, 2021
Solved

How to change URL path for Disptacher GET method

  • May 3, 2021
  • 1 reply
  • 905 views

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

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 davidjgonzalezzzz

/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!

1 reply

davidjgonzalezzzzAccepted solution
Employee
May 27, 2021

/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!

New Participant
May 27, 2021

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