Forum Discussion
Hamish
May 14, 2013Cirrocumulus
It's not foolproof, but you can check the host: header. A browser will by default put in there whatever was type din the URL for the host. So if they type http://1.1.1.1/ the host header will have host: 1.1.1.1
if { [HTTP::host] ne "mysite.domain.com" } {
drop
}
Or do whatever you like (e.g. redirect somewhere else 🙂