Forum Discussion
Misty_Spillers
Sep 29, 2011Nimbostratus
Https on a http site with stylesheets
Sorry I have searched and there seems like many similar questions but I can't find the one that fixes my issue. I'm far from an expert so sorry if this is newbie but I'm out of time to fix the issue ...
Misty_Spillers
Sep 30, 2011Nimbostratus
Thanks for the quick reply. I am so sorry but I may need it more spelled out than that. The first thing you link (http://devcentral.f5.com/Wiki/default.aspx/iRules/STREAM__expression) seems to bring me to a generic page. maybe if I have the examples there I could put something together.
The example that hoolio quoted again sounds like what I need but does some really strange things to the website. (moves form input boxes around etc) and the site doesn't function right. I don't really understand this part
Check if the matched string meets some condition that can't easily be checked for using a single regex in STREAM::expression
if {[STREAM::match] starts_with "host1"}{
and this part
Match an http://*example.com string and replace it with nothing yet
STREAM::expression {&http://.*?example\.com&&}
I tried to add the vender site we host as best as possible but I really don't understand the significance of all the special characters, I'm assuming wildcards?
The domain I need to match is longer than the example. like venderapp.co.county.state.us so maybe I did it wrong but I don't even know if this is what I should try to match.
Just to restate, the 10 line code I quoted works perfectly for the vender app. It just has a few external links that I somehow need to not rewrite (in fact so few links I could match them if its easier, perfer not too incase they add more)
I hope this all makes sense. Thanks in advance for any help sorry I have no programming skills :(
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