how to configure in dispatcher level ".model.json" in should allow on DNS domain as well | Community
Skip to main content
keshava219
New Participant
May 13, 2022
Solved

how to configure in dispatcher level ".model.json" in should allow on DNS domain as well

  • May 13, 2022
  • 1 reply
  • 1342 views

On React component approach we are using ".model.json" to react will configure json. in author its working fine for DNS its blocking ".model.json" with consist of " /content/* "

 

Example: /content/we-retail/en/jcr:content/responsivegrid/women-comp.model.json

 

 

any reference for please suggest me.

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 asn11

# to allow model.json for react
/0064 { /type "allow" /path "/content/<myproject>/*" /method "GET" /selectors "model" /extension "json" }

 

pls change project name and rule number *(/0064) accordingly and try

1 reply

New Participant
May 13, 2022

Check webserver and dispatcher logs, you should get an idea where request is getting blocked.

Most probably you dont have a rule to allow these at dispatcher filter.

 

keshava219
New Participant
May 13, 2022

Hi @asn11  ,

 

 Thansks for your reply, Yes there is no rules include this, write a new rule what could be the regular expression.

asn11Accepted solution
New Participant
May 13, 2022

# to allow model.json for react
/0064 { /type "allow" /path "/content/<myproject>/*" /method "GET" /selectors "model" /extension "json" }

 

pls change project name and rule number *(/0064) accordingly and try