Forum Discussion
JGTRAN_142005
Jan 23, 2014Nimbostratus
need help creating an iRule
hi all,
Hope you all doing well. Could someone help me with creating an iRule? I would like to create an iRule which will forward all http/https request to go to a URL.
For example:
abc.com
www.abc...
JGTRAN_142005
Jan 23, 2014Nimbostratus
hi all, i found the answer after searching the forum.
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "example.com" }{ HTTP::respond 301 Location "http://www.[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