Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Host Apple Associated Domain file on AEM

Avatar

Community Advisor

Hi All,

 

We have a iOS app for our website and need to link it with website, So links opened on Mobile, would open on App. We need to host apple-app-site-association(AASA) file on AEM Server. Can you please guys help on steps to follow and where to put it actually in AEMaaCS?

 

 

 

@arunpatidar @nitesh_kumar @Nirmal_Jose @BrianKasingli @riteshmittal @pulkitn @lukasz-m Jörg_Hoh DEBAL_DAS Vijayalakshmi_S

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Creating technical file inside content area is always a risk. If someone has access they may delete this file.

 

But yes, you can go ahead with this approach, many use same approach to host robots.txt and other technical files.

You just need to write redirect rule at dispatcher.

 

For example rewrite rule for robots.txt

RewriteRule ^/robots.txt$ /content/dam/exampleco/robots.txt [NC,PT] 



Arun Patidar

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @arunpatidar ,

 

We have a file already with us. We need the steps to place it at server/dispatcher level at /.well-known folder as suggested on Apple documentation.

We are using AEMaaCS.

Anyone can help, please?

 

Avatar

Community Advisor

I am not sure If this is helpful or not but just to let you know in AEMaaCS, you can't do any changes manually. You have to deploy via code.

 

To deploy dispatcher changes there are set of rules, please check if those rules allow you to put this file in dispatcher, please go ahead 

https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/local-development-env... 



Arun Patidar

Avatar

Community Advisor

Right now, what we are planning to do is, We will place this file DAM and when a request comes to Dispatcher with https:// <domain>/.well-known/apple-app-site-association, we will redirect to DAM to fetch this file. Is this good approach? 

 

I need suggestion on this Community!

Avatar

Correct answer by
Community Advisor

Creating technical file inside content area is always a risk. If someone has access they may delete this file.

 

But yes, you can go ahead with this approach, many use same approach to host robots.txt and other technical files.

You just need to write redirect rule at dispatcher.

 

For example rewrite rule for robots.txt

RewriteRule ^/robots.txt$ /content/dam/exampleco/robots.txt [NC,PT] 



Arun Patidar