Kamiza_49017
Jun 22, 2010Nimbostratus
V10.x LTM adding :-1 into url response
Hi All.
I wonder if you can help.
I have recently implemented a F5 LTM V10.x solution within a customer environment.
The F5 is return :-1 onto the end of a url for a small subset of websites for example https://test.testsite.co.uk:-1/
Obviously this breaks the solution.
I have tried to implement an irule using the stream command to fix this issue but it doesn't seem to work:
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
}
}
When I bypass the F5 and connect the server directly to the internet via a static nat rule everything works fine. Obviously this is a tempoary work around and I would like to deploy the server behind the F5 to add resliency to the solution.
I hope you can help.
Regards
Brett