gbbaus_104974
Sep 19, 2011Historic F5 Account
How can I Change IP Address references to FQDN references
Hi Guys
I am trying to use the STREAM command to replace the IP Address of the Virtual Server, with a FQDN (and vice versa)
I have Enabled streams on the Virtual server, and well as enabled Chunking on the both Request and Response.
============================
Rewrite the headers and links when you have to used IP addresses
as apposed to FQDN names in referencing the Virtual server.
when HTTP_REQUEST {
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Enable the stream filter for the life of the current TCP connection
STREAM::enable
STREAM::expression {@}
}
}
when HTTP_RESPONSE {
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Enable the stream filter for the life of the current TCP connection
STREAM::enable
STREAM::expression @}
}
}
I have checked the tcpdump (to the pool member) and the Host, and Referer and Location headers dont seem to be changing
Any ideas
Thnaks
Gary