Forum Discussion
andyr0ck_5031
Jul 08, 2008Nimbostratus
this is the rule i came up with (my TCL is awful!) but i get syntax errors:
when HTTP_RESPONSE {
HTTP::header remove "Pragma"
if { [HTTP::header Content-Type] contains "text/html;charset=UTF-8" and [IP::addr [IP::remote_addr] not_equals 208.57.158.0/255.255.255.0 ] } {
STREAM::expression "@http://system.college.ac.uk@https://system.college.ac.uk@"
}
}
can anybody help with this? have i got the logic completely wrong?