skarpovi_111573
Apr 09, 2008Nimbostratus
HTTP::header insert
tried to use simple rule with HTTP::header insert, but don't see anything in TCP dump. it does redirect to https, however - no string in the header
when HTTP_REQUEST {
if {[TCP::local_port] eq "80"} {
HTTP::header insert STRING "MLint"
HTTP::redirect "https://[HTTP::host][HTTP::uri]test"
} elseif {[TCP::local_port] eq "80" } {
HTTP::redirect "http://[HTTP::host][HTTP::uri]"
} else {
pool test-Servers-Pool
}
}