Forum Discussion
JD_Tomzak_40166
Nimbostratus
Feb 21, 2019Undefined procedure error in my Irule
In advance, please forgive my non programmer lameness.
This Irule seems like it should work but I get errors when I try to save.
when HTTP_REQUEST {
if { ([HTTP::method] equals "HEAD") } { ...
- Feb 25, 2019
Below rule will work. Assign default pool to Virtual server. F5 will take care to route it to pool. For other than the HEAD method below is the iRule.
when HTTP_REQUEST { if { [HTTP::method] ne "HEAD" } {
HTTP::redirect "; } }
Please note: ";; is enclosed in double quotes.
uzair
Nimbostratus
Feb 25, 2019Below rule will work. Assign default pool to Virtual server. F5 will take care to route it to pool. For other than the HEAD method below is the iRule.
when HTTP_REQUEST { if { [HTTP::method] ne "HEAD" } {
HTTP::redirect "; } }
Please note: ";; is enclosed in double quotes.
- JD_Tomzak_40166Feb 25, 2019
Nimbostratus
Thanks!
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