Forum Discussion
darrenclegg_199
Oct 06, 2011Nimbostratus
HTTPS repond
I have the following irule set up for our websites and it is working fine for HTTP but when the user tries the HTTPS site they just get Internet explorer cannot display the web page
when HTT...
why do u need to use drop command?
[root@iris:Active] config b virtual bar list
virtual bar {
destination 172.28.17.33:https
ip protocol tcp
rules myrule
profiles {
clientssl {
clientside
}
http {}
tcp {}
}
}
[root@iris:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
HTTP::respond 200 content \
"Wrong URL entered!You have been redirected to the wrong site." "Content-Type" "text/html"
}
}
[root@iris:Active] config curl -ik https://172.28.17.33
HTTP/1.0 200 OK
Content-Type: text/html
Server: BigIP
Connection: Keep-Alive
Content-Length: 61
Wrong URL entered!You have been redirected to the wrong site.
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