Forum Discussion
Apr 26, 2014
Hi!
I'd probably create a data group list with the internal networks of the office (or external IP's of the offices) and match against that:
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]
if { $uri starts_with "/rrr_i" and ![class match [IP::client_addr] equals officenetworks] } {
HTTP::respond 301 Location "https://xxx.com/rrr_e"
You can also chose to drop the packet with the drop command too
}
}
/Patrik