내 커뮤니티 업적 표시줄을 확대합니다.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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

Avatar

Level 4

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.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 5

# 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 답변 개

Avatar

Level 5

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.

 

Avatar

Level 4

Hi @asn11  ,

 

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

Avatar

정확한 답변 작성자:
Level 5

# 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