Forum Discussion
Ravi_Rajan_7549
Nimbostratus
Apr 08, 2008HTTP to HTTPS redirect
Hi,
I want to have an irule to redirect all incoming traffic from http to https, host and the URI remaining the same.
I browsed through the forum and could not find the above. Ple...
Nicolas_Menant
Employee
May 02, 2008Hi,
to handle only the first part of the uri between "/" you should try to use the command getfield: Click here
set first_part [getfield [HTTP::uri] "/" 2]
log local0. "first part is $first_part"
in your example: /xyz/per/ajskc/test.aspx first_part should be xyz
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