Forum Discussion
Seckin_149390
May 15, 2017Nimbostratus
Simple iRule
Hi all,
I want to write irule to append "/" character to all http requests.
For example ;
if http request is http://abc.com/test, this request must be http://abc.com/test/
Kind ...
kunalPatel_3157
May 15, 2017Cirrus
Try this:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" }
{
HTTP::redirect "https://[HTTP::host]/"
}
}
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