Forum Discussion
Melissa_Good_10
Nimbostratus
Mar 22, 2009HTTP redirect with POST data intact
Hello.
Our Web developers have inserted a form into our website, that collects client data (name, phone number, email address) but the form it collects on is an externally hosted website.
They were working to do a proxypass function in Apache, but the webservers do not have internet access (they are behind the Big IP on an isolated DMZ) and they can't send the POST data to the external site from them.
An iRule will redirect the request, but the POST data is lost when the client redirects after hitting 'submit'. I have read elsewhere in the forum that this type of redirect is not possible using the http:redirect function - my question is, can this function be done by any iRule process?
Thanks for any info...
- The_Bhattman
Nimbostratus
Have you looked at the following article - hoolio
Cirrostratus
The gist of the post cmghatt referenced is that it would be much easier to change the page on the application which generates the POST request. If you can change the application itself, that would be ideal. Or if the response from the application which generates the POST request is sent through an LTM virtual server, you could use a stream profile and STREAM::expression based iRule to rewrite the form action to the correct location (and/or protocol). It isn't very easy/effective to try and fix the problem after the POST request has already been made from the client.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects