Skip to main content
keshava219
Level 3
May 13, 2022
Solved

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

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.
asn11Accepted solution
Level 4
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

3 replies

Level 4
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.

 

Translate
keshava219
Level 3
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.

Translate
asn11Accepted solution
Level 4
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

Translate