# STREAM PROFILE ISSUE

**URL:** <https://community.f5.com/t/stream-profile-issue/34512>\
**Category:** Technical Forums\
**Tags:** irules, devops, application-delivery\
**Created:** [October 11, 2014, 9:46am UTC](https://community.f5.com/t/stream-profile-issue/34512 "2014-10-11T09:46:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parveez\_70209](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@Parveez\_70209](https://community.f5.com/u/Parveez_70209)\
**Post date:** [October 11, 2014, 9:46am UTC](https://community.f5.com/t/stream-profile-issue/34512/1 "2014-10-11T09:46:37Z")

</div>

Hi Kevin,

Reviewing this old doc, I am also facing the similar issue:

> **[DevCentral](https://community.f5.com/)**
>
> DevCentral is an online technical community where engineers and practitioners collaborate, share knowledge, and solve problems related to F5 technologies and industry trends.

When browsing:

[https://univardev2.jdadelivers.com/jda/webworksws/SecurityServices?wsdl](https://univardev2.jdadelivers.com/jda/webworksws/SecurityServices?wsdl), it is redirecting to schemalocation: [http://univardev2.jdadelivers.com:80/jda/webworksws/SecurityServices?wsdl](http://univardev2.jdadelivers.com:80/jda/webworksws/SecurityServices?wsdl)

Som tried creating a STREAM Profile setting the target as: @[http://univardev2.jdadelivers.com:80](http://univardev2.jdadelivers.com:80)@[https://univardev2.jdadelivers.com](https://univardev2.jdadelivers.com)@@

Will that work without additional Irule ?

If incase I create an Irule, whether the below will work:

when HTTP\_REQUEST { tell server not to compress response HTTP::header remove Accept-Encoding

```tcl
disable STREAM for request flow
STREAM::disable

```

} when HTTP\_RESPONSE { catch and replace redirect headers if { [HTTP::header exists Location] } { HTTP::header replace Location [string map {“[http://univardev2.jdadelivers.com:80](http://univardev2.jdadelivers.com:80)” “[https://univardev2.jdadelivers.com](https://univardev2.jdadelivers.com)”} [HTTP::header Location]] }

```tcl
only look at text data
if { [HTTP::header Content-Type] contains "text" } {

     create a STREAM expression to replace any http:// with https://
    STREAM::expression {@http://univardev2.jdadelivers.com:80@https://univardev2.jdadelivers.com@}

     enable STREAM
    STREAM::enable
}

```

}

Thanks and Regards PZ

---

<div class="post-metadata">

**Author:** ![The\_Bhattman](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/the_bhattman/32/13958_2.png) [@The\_Bhattman](https://community.f5.com/u/The_Bhattman)\
**Post date:** [October 11, 2014, 2:54pm UTC](https://community.f5.com/t/stream-profile-issue/34512/2 "2014-10-11T14:54:43Z")

</div>

Hi Parveez, You might need stremaing profiles

Have you looked at enabling rewrite on redirects within the HTTP Profile

> **[DevCentral - An F5 Technical Community](https://community.f5.com/)**
>
> DevCentral is an online technical community where engineers and practitioners collaborate, share knowledge, and solve problems related to F5 technologies and industry trends.
