コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

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 受け入れられたソリューション

Avatar

正解者
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

AEM LinksLinkedIn

元の投稿で解決策を見る

5 返信

Avatar

Community Advisor

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

AEM LinksLinkedIn

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

正解者
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

AEM LinksLinkedIn