TheManu
Nov 12, 2007Nimbostratus
data gets lost when URL redirect
I want to implement a URL redirect for the following URL:
https://test.company.com/branch/workinggroup
Destination is:
https://test.company.com/programs/logic.php
The purpose of this page is that a user may post XML data, which is put into the body of the page. The PHP file contains the logic to read this data and automatically create an order in our system.
When I use the following URL redirection, the request is the redirected but the data gets lost:
when HTTP_REQUEST { if { [HTTP::host] eq "test.company.com/branch/workinggroup"}{ HTTP::header replace "host" "test.company.com/programs/logic.php"}}
Does anyone know how to change the iRule to keep the order process working?
Thanks for your help.