Ok, for anyone following this I have successfully done this. I set up a stream profile and changed abc to def within the header. I also needed to setup a http profile set to rechunk then added an irule for the response going back to the browser so the user dos not know he is hitting a different url.
when HTTP_RESPONSE {
STREAM::enable
STREAM::expression "@abc@ @def@"
}
Whast also would probably work is 2 Irules one for the requst when HTTP_REQUEST
{ if { [HTTP::host] eq "abc.com" } { HTTP::header replace "Host" "def.com"
}
}
then one for the response:
when HTTP_RESPONSE {
STREAM::enable
STREAM::expression "@abc@ @def@"
}
Thanks for all the help.