Error while submitting forms via CDN

Avatar

Avatar

matthewmok

Avatar

matthewmok

matthewmok

08-09-2020

We have created an adaptive form and we have tested that the form function normally when submitting the form directly through dispatcher. However, when we try to submit the same form through CDN (Akamai in our case), there is an issue when the system displays the guideAsyncThankYouPage. We found that the browser is trying to request for the guideAsyncThankYouPage.html with the origin server domain (dispatcher.mydomain.com) instead of the CDN domain (www.mydomain.com). Since our origin server domain only allows access from CDN, the browser request will fail.

 

The request initiator chain that we observed in the browser is as below:

- https://www.mydomain.com/content/forms/af/myform.html

  -> https://www.mydomain.com/etc.clientlibs/clientlibs/granite/jquery/granite/csrf.min.js

    -> https://www.mydomain.com/content/forms/af/myform/jcr:content/guideContainer.af.submit.jsp

      -> https://dispatcher.mydomain.com/content/forms/af/myform/jcr:content/guideContainer.guideAsyncThankYo.......

 

We would like to see if there is any settings that we can configure in AEM such that the browser will be able to request for the guideAsyncThankYouPage.html via the CDN domain (www.mydomain.com) instead of our origin server domain (dispatcher.mydomain.com).

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

08-09-2020