Forum Discussion
Lisa_Backer_107
Nimbostratus
Apr 06, 2006Simple http redirect rule
Hello,
I'm also new to Bip IP and would like to move our IIS redirects to Bip IP to ease maintenance. I've set up a test and it doesn't appear to work (request is not redirected when I type http://www.mydomain.com/testactf).
The syntax I used is:
if (http_uri ends_with "testactf") {
redirect to "http://%h/calendar/"
}
else {
discard
}
Any advice? Am I misunderstanding the http_uri variable? Thanks.
Lisa
3 Replies
- Martin_MachacekHistoric F5 AccountLisa,
your rule looks correct. It is impossible to tell from the data you've provided what's failing. You can add log statements to your rule in order to troubleshoot the problem. Please refer to following thread for hints how to do that: Click here - Lisa_Backer_107
Nimbostratus
Just wanted to follow up that the rule syntax was correct (and thanks for confirming this). Our problem was in the association with the virtual server. I didn't realize that there could only be a single rule for each virtual server and so now this is set up and working. The more I work with it though, the clearer its becoming.
Thanks. - Ricco_Chua_1104
Nimbostratus
test
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
