Forum Discussion
jcotonou_41350
Nimbostratus
Sep 28, 2011reject user url without /owa
Hello
I have Exchange 2010. How to prevent user to get IIS picture error when he not put correct url like webmail.mydomain/owa.
Finally i went with irule to reject user when he not type h...
nitass
Employee
Oct 01, 2011in case u want redirect.
[root@tulip:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.17.66:https
ip protocol tcp
rules myrule
profiles
clientssl
myhttp
tcp
}
[root@tulip:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if {[HTTP::uri] equals "/"} {
HTTP::redirect ""
}
}
}
[root@tulip:Active] config curl -Ik https://172.28.17.66
HTTP/1.0 302 Found
Location: https://172.28.17.66/owa/
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
[root@tulip:Active] config b profile myhttp list
profile http myhttp {
defaults from http
fallback "http://www.google.com"
}
[root@tulip:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/10.10.70.110:http inactive,down
[root@tulip:Active] config curl -Ik https://172.28.17.66/owa
HTTP/1.0 302 Found
Location: http://www.google.com
Connection: close
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