Forum Discussion
Kamiza_49017
Nimbostratus
Jun 22, 2010Stream:: 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
2 Replies
- hoolio
Cirrostratus
Hi Brett, - Kamiza_49017
Nimbostratus
Thanks Aaron, I didn't think my first attempt got through. My companies proxy server blocked the confirmation page. I will review the findings in the other post tomorrow when i have access to the device.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects