Expand my Community achievements bar.

SOLVED

Apps/clientlibs is not working in dispatcher. Im using AEM-6.1

Avatar

Level 4

Hi All,

Apps/clientlibs is not working in dispatcher.  I'm using AEM-6.1


I have an clientlibs in /apps/everest/part1/clientlibs/designs/css/main.css & css.txt (allowproxy-true property has been added for designs folder) . The Jcr type of the folder type is below,

everest - nt:folder
part1 -nt:folder

clientlibs - nt:folder

designs - cq:ClientLibraryFolder , added allowproxy=true


And I'm calling the designs folder using category name from my template.html. It's working fine in author and publisher but not in dispatcher. In dispatcher when i see the page source I could see this /etc.clientlibs/everest and by this way I'm ensuring allowproxy is working fine.  I'm suspecting the dispatcher rule where I have newly configured. Below are the rules I have tried but the issue exist.

/0120 { /type "allow" /method "GET" /url "/etc.clientlibs/everest*" }  - first tried

/0120 { /type "allow" /glob "* /etc.clientlibs/everest*" }  - second tried

Can any one help to fix this.. Thanks

smacdonald2008Ratna Kumarkautuksahniwimsymonscqsapientu69896437

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Please use the following filter to allow clientibs

 

# Enable clientlibs proxy servlet
/0012 { /type "allow" /method "GET" /url "/etc.clientlibs/*" }

 


Aanchal Sikka

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Please use the following filter to allow clientibs

 

# Enable clientlibs proxy servlet
/0012 { /type "allow" /method "GET" /url "/etc.clientlibs/*" }

 


Aanchal Sikka

Avatar

Administrator

@vijays80591732 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni