Forum Discussion
How to Reformat/Rewrite an Irule using HTTP Class
Hi Team,
As In v10 through v11.3.0 ,as we can use something called an HTTP Class which can also redirect to HTTPS. And as they are more efficient than iRules (a good thing on a busy F5) and can probably handle 95% our redirect situations.
How can we rewrite the below Irule using HTTP Class through GUI. Kindly assist in guiding the same by using a screenshot through GUI.
when HTTP_REQUEST { set https_uri [string tolower [HTTP::uri]] if { $https_uri equals "/" } { HTTP::redirect "https://test.site.com/ttt/shell/" } }
This will be my first start using HTTP Class.
Thanks and Regards Parveez
3 Replies
- uni
Altocumulus
I recommend you do not move to HTTP classes, as this functionality has been removed from v11.4. They have been replaced with (the frustratingly incomplete and cumbersome) Local Traffic Policies.
- Parveez_70209
Nimbostratus
Hi Uni,
Thanks for updating, but this is new to me, wanted to learn how we can do through GUI , the provided URL as an example.
Thanks and Regards Parveez
- Parveez_70209
Nimbostratus
Hi,
Can someone assist me please.This is a new topic to me.
Thanks and Regards Parveez
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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