Hi Malith,
This can be accomplished using forward and rewrite rules.
Define srilankan.airtrfx.com as a Data Center and check the box to Support only forward rules.
Create a new Forward rule with the following filter criteria:
URL == "/flights"
Adjust the match criteria as desired. For example, the statement above is a strict match on "/flights" and will not match "/flights/".
For the Rule Action, select Forward to Data Center and select the srilankan.airtrfx.com Data Center.
Give the rule a name and click Save.
Imperva Cloud will now Forward all requests for www.srilankan.com/flights (client facing) to srilankan.airtrfx.com. (backend) and retrieve the content.
Please note however that a Rewrite rule is also typically required in conjunction with a Forward rule. This is because the Origin Data Center usually won't respond because the original Host header is sent. Additionally, the SSL handshake can fail with the Origin server if the Host names do not match.
Create a Rewrite matching the same path as the Forward rule.
URL == "/flights"
For the Rule Action, select Rewrite Header.
For the Header Name, enter Host
Leave the From empty and in the To enter srilankan.airtrfx.com
Enter a name for the rule and click Save.
------------------------------
Jaired Anderson
Principal Consultant
Imperva
Tulsa OK
------------------------------
Original Message:
Sent: 03-22-2020 05:57
From: Malith Hadunkuttige
Subject: URL Redirection - (Masking)
I have uniqe requirement when the user goes to www.srilankan.com/flights, content of srilankan.airtrfx.com has to be downloaded under www.srilankan.com/flights. How can we get this done?
#APISecurity
#AttackAnalytics
#BotManagement
#CloudWAF(formerlyIncapsula)
#CloudDataSecurity
#ContentDeliveryNetwork
#DatabaseActivityMonitoring
#DataMasking(formerlyCamouflage)
#DataRiskAnalytics(formerlyCounterBreach)
#DDoSProtectionforNetworks
#DDoSProtectionforWebsites
#LoadBalancer
#On-PremisesWAF(formerlySecuresphere)
#RASP
#AllImperva
------------------------------
Malith Hadunkuttige
Srilankan Airlines
Colombo
------------------------------