Forum Discussion
Mahjouboi
Dec 07, 2023Nimbostratus
iRule not get triggered.
Hi Experts, I'm facing an issue which I want your kind assistance, I will explain the issue in details, so please excuse me for being so long. in our environment we have an application working in p...
Dec 07, 2023
First thing I would do is check if the HTTP_REQUEST event is triggered at all. Try adding some logging to the iRule and check /var/log/ltm to see if the event is triggered.
when HTTP_REQUEST {
log local0. "DEBUG: HTTP_REQUEST"
log local0. "DEBUG: [HTTP::host]"
log local0. "DEBUG: [HTTP::path]"
if { [HTTP::host] contains "and" and [HTTP::path] eq "/" } {
HTTP::redirect "https://abc.xyz.com/otcs/cs.exe?func=llworkspace"
}
}
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