Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to change URL path for Disptacher GET method

Avatar

Avatar
Validate 1
Level 2
Leena_1
Level 2

Likes

10 likes

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 1
Level 2
Leena_1
Level 2

Likes

10 likes

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Leena_1
Level 2

03-05-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 3
Level 5
davidjgonzalezzzz
Level 5

Likes

68 likes

Total Posts

77 posts

Correct Reply

31 solutions
Top badges earned
Ignite 3
Affirm 25
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Ignite 3
Level 5
davidjgonzalezzzz
Level 5

Likes

68 likes

Total Posts

77 posts

Correct Reply

31 solutions
Top badges earned
Ignite 3
Affirm 25
Ignite 1
Give Back 5
Give Back 3
View profile
davidjgonzalezzzz
Level 5

27-05-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!

Answers (0)