Forum Discussion
Isaac_105703
Nimbostratus
Jun 25, 2009iRule to maintain POST data for redirect
Hi there,
I have a web page that has username/password fields. A "login" button performs a POST of that data to a file on the site (/cgi-bin/login.cgi) for authentication.
I want to force all requests made for my cgi file to be sent over SSL.
Here's what I have so far:
when HTTP_REQUEST {
if {
[HTTP::uri] contains ".cgi"
} then {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
}
This doesn't work correctly. The client gets redirected fine, but the POST data is empty. Is there a way to capture that POST data and include it for the redirect?
Thanks,
-Isaac
- hoolio
Cirrostratus
Hi Isaac, - Isaac_105703
Nimbostratus
Hey Aaron,
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