Forum Discussion
Todd_Behrens_20
Nimbostratus
Dec 14, 2017Insert JavaScript If URL path contains word
Hi Everyone, im kind of newbie when it comes to irules and was hoping someone could help me out. I'm looking to insert a javascript into the header of http response only if a certain word is in the U...
Todd_Behrens_20
Nimbostratus
Dec 14, 2017thanks for the reponse. I get an 'cannot read" uri error in the logs when the irule is enabled;
TCL error: /Common/im_token_insert_v1 - can't read "uri": no such variable while executing "switch -glob $uri { ".ashx" - ".asmx" - ".axd" - ".js" { set insertJscript 0 } default { if { [HTTP::p..."
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