Forum Discussion
AngryCat_52750
Nimbostratus
Dec 19, 2013# and comments in iRules
i have an iRule that looks like this -
if { ([string tolower [HTTP::host]] eq "www.disney.com") && ([string tolower [HTTP::uri]] starts_with "//characters/") } {
ACCESS::disable
virtual vs-toys
}
I believe the "" int he URI is making the editor think its the start of the comment.. how do i correct that so it doesnt think that..
2 Replies
Sort By
I believe escaping the character will work.
"/\/characters/"
- hoolio
Cirrostratus
Or try curly braces:
% set var {test123} test123
Aaron
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