Forum Discussion
Jay_Henriques_1
Nimbostratus
Dec 07, 2011b load returning parsing error
Line 20591 is this iRule but I can't find why it is the parsing is failing:
Velvet Rope Statistics
This irule monitor the current number of sessions within a velvet rope'd site. I...
hoolio
Cirrostratus
Dec 19, 2011You could use subst twice to get the variable values and not have to escape characters in the static content:
when RULE_INIT {
set static::responseContent [subst {
unescaped text
"hi"
{text}
\${static::site-identDDE}
}]
}
when HTTP_REQUEST {
set static::site-identDDE "ddewcsp"
HTTP::respond 200 content [subst $static::responseContent]
}
< Connection: Keep-Alive
< Content-Length: 45
unescaped text
"hi"
{text}
ddewcsp
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
