Forum Discussion
STREAM *head scratching*
I have a VS setup on port 443 applied to external VLAN using builtin SSL profile on clientside only, http profile (rechunk, x-forwarded), empty stream profile, SNAT pool; points to a pool of web servers on port 80 with an iRule attached as follows. Environment, VLANs, SNAT are well known and working and we are using route domains.
when HTTP_RESPONSE {
if {[HTTP::header "Content-Type"] contains "text"} {
STREAM::expression {@http://@https://@}
STREAM::enable
}
}
Initial page returns with broken images and the page is full of "http://" links which should have been rewritten as "https://".
Any Help Appreciated!
Kevin
- Kevin_Davies_40Nacreous
when HTTP_REQUEST { STREAM::disable HTTP::header remove "Accept-Encoding" }
STREAM::expression @http://\@https://\@ does work
- Colin_Walker_12Historic F5 AccountThat's actually very interesting. I would think that all of those forms would work. When you say "doesn't work" do you mean that it's not replacing the strings, or returning an error of some form?
Recent Discussions
Related Content
* 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