0

I've been trying to create universal link and the first step specifically for this type of universal link is an apple-app-site-association json file without the json file extension saved to my /.well-known directory on my server... several stackoverflow articles I've tried ALL these solutions below like rewriting the rule in my web.config file along with .htaccess and also my SSL is valid

.htaccess file:

ForceType application/json
</FilesMatch>```


```<Files "apple-app-site-association">
ForceType 'application/json'
</Files>```

```RewriteRule ^apple-app-site-association$ - [env=apple:1] Header set Content-type application/json env=apple```

web.config file: 

```<rewrite>
<rules>
<rule name="apple_json_file">
<match url="apple-app-site-association" />
<action type="Rewrite" url=".well-known/apple-app-site-association.json" />
</rule>
</rules>
</rewrite>```

Nothing works... please advise 

0 Answers0