Expand my Community achievements bar.

SOLVED

Proxy and Reverse Proxy for website

Avatar

Level 5

Hey All,

 

I am using AEM as a cloud service and want to use reverse proxy but I am running into an issue and was wondering is anyone else doing this?

 

So I want everything under /shop to service up another website for example

 

https://www.aem-website.com  <-- AEM as cloud service

https://www.aem-website.com/contact-us.html  <-- AEM as cloud service

https://www.aem-website.com/shop  <-- https://www.another-customer-site.com  (everything under should the other site)

https://www.aem-website.com/shop/page1  <-- https://www.another-customer-site.com/page1 

 

I have done some proxying but this is what I think?

 

<IfDefine ANOTHER_URL>
    ProxyHTMLStripComments on
     ProxyRequests off
     SetOutputFilter proxy-html
     ProxyHTMLDoctype XHTML
    SSLProxyEngine on
    <LocationMatch "/store$">
        ProxyPass   ${ANOTHER_URL}$2
        ProxyPassReverse ${ANOTHER_URL}
        RewriteEngine    Off
    </LocationMatch>
</IfDefine>
 
Some of this will work but some modules are not installed like  ProxyHTMLStripComments ProxyHTMLDoctype
 
I know in past I was able to load/use other modules.....has anyone done this and can it be done?
 
Thanks,
Sean
 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

AEM as Cloud by default only supports mod_proxy and mod_proxy_http modules; refer to https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten... for more details on the supported modules.

I am not sure AEM as a Cloud allows to enable additional modules due to security restrictions(this is the note from the above document - Customers cannot add arbitrary modules. However, additional modules may be considered for inclusion in the future. ); please raise a support ticket to understand more on this.

Regards

Albin

https://www.albinsblog.com

View solution in original post

3 Replies

Avatar

Level 5

I have seen that post, but there is no answer other then adding debugging?

Avatar

Correct answer by
Community Advisor

AEM as Cloud by default only supports mod_proxy and mod_proxy_http modules; refer to https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten... for more details on the supported modules.

I am not sure AEM as a Cloud allows to enable additional modules due to security restrictions(this is the note from the above document - Customers cannot add arbitrary modules. However, additional modules may be considered for inclusion in the future. ); please raise a support ticket to understand more on this.

Regards

Albin

https://www.albinsblog.com