Forum Discussion
saad_80641
Nimbostratus
Sep 11, 2009HTTP redirect to HTTPS (dynamic URL)
Hi ,
I am redirecting all request that comes on http to https through following irule
when HTTP_REQUEST {
HTTP::redirect "https://www.saad.com/saad/default.aspx"
}
But actually the URL grows to
http://www.saad.com/saad/default.aspx?workspaceID=4
where workspaceID can be 3,4,5,6......n
Please let me know , if somebody know the answere , I am pretty new to irule
Please help
thanks
Saad
1 Reply
- L4L7_53191
Nimbostratus
Would something like this work? This will handle your dynamic URI (and hosts, for that matter).when HTTP_REQUEST { HTTP::redirect "https://[HTTP::host][HTTP::uri]" }
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