Forum Discussion
Jay_Henriques_1
Dec 07, 2011Nimbostratus
b 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...
nitass
Dec 18, 2011Employee
can you try?
[root@ve1023:Active] config b virtual bar list
virtual bar {
destination 172.28.19.79:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when RULE_INIT {
set static::site-identDDE "ddewcsp"
set static::responseContent {
\${static::site-identDDE}
}
}
when HTTP_REQUEST {
HTTP::respond 200 content [subst $static::responseContent]
}
}
[root@ve1023:Active] config curl -i http://172.28.19.79
HTTP/1.0 200 OK
Server: BigIP
Connection: Keep-Alive
Content-Length: 29
${static::site-identDDE}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when RULE_INIT {
set static::site-identDDE "ddewcsp"
set static::responseContent \
\${static::site-identDDE}
}
when HTTP_REQUEST {
HTTP::respond 200 content [subst $static::responseContent]
}
}
[root@ve1023:Active] config curl -i http://172.28.19.79
HTTP/1.0 200 OK
Server: BigIP
Connection: Keep-Alive
Content-Length: 7
ddewcsp
[root@ve1023:Active] config
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