Forum Discussion
acgutierrez_123
Nimbostratus
Sep 12, 2013iRule to deny traffic from local network AND redirect to HTTPS
Hi all, I have this iRule that's currently working to only allow traffic from a network segment if the http request contains a certain uri, I also want it to be redirected from http to HTTPS but I'm ...
Kevin_Stewart
Employee
Sep 12, 2013Here's a formatted version of the iRule:
when HTTP_REQUEST {
if { [HTTP::uri] contains "inscripcion-web" } {
if { [IP::addr [IP::client_addr] equals 192.168.147.0/24] } {
pool pool_.93y.94_8690_inscripcion-web
} else {
do nothing
}
}
}
So where and when do you want to redirect the user to HTTPS?
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