Forum Discussion
Dalmaren_261881
Nimbostratus
May 15, 2016Virtual server and http pool not accessible
Dear All,
I am new to F5 and just starting learning this technology. I purchased a training suite and practicing on F5 BIG-IP LTM v11.3 VE. On a VMware workstation, I installed 3 small linux ma...
- May 15, 2016
Hello,
Did you add a snat configuration ? If not, try by adding the automap value to the snat setting on the Virtual Server
is response encoded or does it span multiple packet?
[root@iris:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.17.33:http
ip protocol tcp
rules myrule
profiles {
http {}
tcp {}
}
}
[root@iris:Active] config b rule myrule list
rule myrule {
when HTTP_RESPONSE {
set collect_length 2048
if {[HTTP::header Content-Length] eq ""}{
set collect_length $collect_length
} elseif {[HTTP::header Content-Length] == 0}{
unset collect_length
} elseif {[HTTP::header Content-Length] > $collect_length}{
set collect_length $collect_length
} else {
set collect_length [HTTP::header Content-Length]
}
if {[info exists collect_length]}{
HTTP::collect $collect_length
}
}
when HTTP_RESPONSE_DATA {
if { [HTTP::payload] contains "Microsoft OLE DB Provider for SQL Server error"}{
log local0. "found OLE DB Error in response"
HTTP::redirect http://www.domain.com/error.asp
}
}
}
[root@iris:Active] config curl -i http://10.10.70.110/foo.html
HTTP/1.1 200 OK
Date: Fri, 21 Oct 2011 06:27:51 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Fri, 21 Oct 2011 06:24:47 GMT
ETag: "66a9-80-213129c0"
Accept-Ranges: bytes
Content-Length: 128
Vary: Accept-Encoding
Set-Cookie: testcookie=helloworld
Content-Type: text/html; charset=UTF-8
WELCOME!!!!
This's 10.10.70.110.
Microsoft OLE DB Provider for SQL Server error
[root@iris:Active] config curl -i http://172.28.17.33/foo.html
HTTP/1.0 302 Found
Location: http://www.domain.com/error.asp
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
- Alexander_SlinkJun 08, 2017
Altostratus
Hello everyone!
May be somebody know?
- dragonflymrJun 08, 2017
Cirrostratus
Hi,
Sorry, never seen such syntax, I am pretty sure it is not possible... maybe with smart iCall triggers but that calls form some serious R&D :-(
Piotr