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
- Martin_MachacekHistoric F5 AccountLisa,
- 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. - Ricco_Chua_1104
Nimbostratus
test
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