Kamiza_49017
Jun 22, 2010Nimbostratus
Stream:: command not working
Hi All,
I have recently implemented F5 V10.x LTM's on a customer solution.
Everything looks good but there is one small issue. The F5 seems to add :-1 to the url of certain webpages when the webserver responds.
I have created the following irule using the stream command but it doesn't seem to work properly.
when HTTP_RESPONSE {
Disable the stream filter by default
STREAM::disable
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Replace any http:// instance with https:// and port numbers
STREAM::expression {@http://test.testnet.co.uk:80@https://test.testnet.co.uk@ @https://test.testnet.co.uk:-1@https://test.testnet.co.uk@ @http://test.testnet.co.uk:443@https://test.testnet.co.uk@}
Enable the stream filter for this response only STREAM::enable
}
}
I have tried a direct access to the web server i.e removing the server from behind the F5 and everything works fine.
Obviously this is a work around but I would like to have more than one server in a pool for resiliency purposes.
Anything you can do to help would be appreciated.
Regards
Brett