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

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

Mark Solution

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

解決済み

Delivering an static HTML pages maintained outside AEM but using the same hostname configured with AEM

Avatar

Level 2

We have a requirement to host some static HTML pages directly on Apache web server under the same domain which delivers content from AEM. 

ex - www.mysite.com/home.html, www.mysite.com/images/abc.gif are maintained and delivered by AEM. 

www.mysite.com/docs/1.html, www.mysite.com/docs/2.html , www.mysite.com/docs/1/1_1.html - these files are maintained outside AEM and not uploaded as an asset in AEM.  How Do I deliver these files using the same web server?

 

Any help or suggestion is appreciated. 

 

Thanks

Ani

 

 

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

One possible option is to enable a reverse proxy on Apache to serve the external URL through the same domain the AEM website hosted - Reverse Proxy Guide - Apache HTTP Server Version 2.4

(Refer to Apache Reverse Proxy: Content From Different Websites | by Albin Issac | The Startup | Medium for more details)

If you are concerned about enabling the reverse proxy through the Apache server, enable CDN behavior to pass the specific requests to the external server.

Regards

AI

www.albinsblog.com

元の投稿で解決策を見る

3 返信

Avatar

Community Advisor

Hi,

 

You can upload the html's to dam folder and have dispatcher changes to redirect the docs/ to /content/dam/{yourproject}/docs/ and render the html.

 

If you are using Akamai or similar architecture then you can redirect to apache or cdn based on the url path (containing docs/ then redirect to apache where the html's are located)

Avatar

Level 2

Hi Ravi, 

 

We want to avoid using AEM for these files/pages. These files are built and generated using a external CMS and managed by a different team who simply want to use the same web server as the primary site. 

 

Thanks

Ani 

 

Avatar

正解者
Community Advisor

One possible option is to enable a reverse proxy on Apache to serve the external URL through the same domain the AEM website hosted - Reverse Proxy Guide - Apache HTTP Server Version 2.4

(Refer to Apache Reverse Proxy: Content From Different Websites | by Albin Issac | The Startup | Medium for more details)

If you are concerned about enabling the reverse proxy through the Apache server, enable CDN behavior to pass the specific requests to the external server.

Regards

AI

www.albinsblog.com