Forum Discussion
Noyan_137135
Feb 12, 2014Nimbostratus
Basic HTTP Stream Profile
Hi all,
I basicly try to use the stream profile to replace the http:// string of my server side response data with https:// and just changed my custom stream profile as below :
Bu...
Vitaliy_Savrans
Feb 12, 2014Nacreous
Hi,
the Stream profile allows you the ability to search for a string within a data stream and replace that string with another string. In your case it searchs in data stream "http:\http://192.168.50.111/" and replace to https://192.168.50.111, not doing redirect. If you want to redirect from http to https you can use simple, iRule:
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
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