Error while submitting forms via CDN

Avatar

Avatar
Boost 1
Level 1
matthewmok
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
matthewmok
Level 1

Likes

2 likes

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
matthewmok
Level 1

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
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

08-09-2020