Forum Discussion
Kenny_Van_73892
Nimbostratus
Dec 07, 2006Need some help to direct http based-on IP and uri
I got a challenge here and if anyone knows someting, please help me out on this.
I got a secure website that I need to use irules to direct traffic from 2 clients' IP addresses: 172.10.10.3 ...
Kenny_Van_73892
Nimbostratus
Dec 07, 2006I think I got a solution, but haven't tested yet. If anyone got a better ideas, please let me know. Thanks.
if (client_addr == 172.10.10.3 or 192.168.20.15) {
if (http_uri contains "/access") {
if (client_addr == 192.168.20.15 and http_uri contains "/secureview") {
discard
}
else {
use pool pool1
}
}
else {
discard
}
}
else {
discard
}
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