Forum Discussion
tiwang_122270
Nimbostratus
Mar 05, 2014need help to simple redirect and whitelist of uri
hi out there
I have a few small problems whereto I need a bit help - first I need to ensure that when a client visits a given site he will be directed to only one uri - eg:
external is we launch...
Kevin_Stewart
Employee
Mar 06, 2014could I achive the same result through defining a custom httpclass
Yes you could, but I don't think it'd be any less complex.
1st httpclass: "root"
- URI Paths: Match Only
- URI Pattern: /
- Entity Type: Pattern String
- Send to: None
- Rewrite URI: /webconnect
2nd httpclass: "webservice"
- URI Paths: Match Only
- URI Pattern: /webservice1.aspx
- URI Pattern: /webservice2.aspx
- Entity Type: Pattern String
- Send to: None
- Rewrite URI: Empty
3rd httpclass: "all-others"
- URI Paths: Match All
- Send to: Redirect to
- Redirect to: Location: [some arbitrary URI]
These HTTP classes would need to be in this order applied to the VIP, and you can't drop a request like you can in the iRule, so you'd most likely have to redirect the user to something.
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