Forum Discussion
Striker_88408
Nimbostratus
Aug 28, 2007I'm new to iRules, i'm looking for a iRules who can can return an URI from a VIP
Hi every1 of the forum,
I'm new to iRules, so all help with this would be really appreciate.
I need to configure a iRules that can return an URI when i call the VIP adress. Do you...
hoolio
Cirrostratus
Aug 28, 2007If you want an iRule that sends a canned HTTP response, you can use the HTTP::respond command (Click here).
Here is an example:
when HTTP_REQUEST {
HTTP::respond 200 "some html content"
}
If you want to send a 302 redirect, you can use:
when HTTP_REQUEST {
HTTP::redirect http://somehost.example.com
}
If this isn't what you're looking for, can you elaborate?
Thanks,
Aaron
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