Forum Discussion
jmas08
Nimbostratus
Jun 18, 2009Help Conditional Maint Irule
Hey Guys,
During maintenance I want to be able to present a maint page to extenal users, while internal users get the actual message form the server for testing purposes. I have this but it i...
hoolio
Cirrostratus
Jun 19, 2009You'll run into problems using a variable (or datagroup) name with a hyphen in TCL:
% set ::test-var 10
10
% puts $::test-var
can't read "::test": no such variable
% puts ${::test-var}
10
You could either reference the variable with curly braces or just change it to an underscore.
And if the iRule isn't working, try adding logging to it. This should help you trace which code is actually executing. If you get stuck in your troubleshooting, reply here with details on what isn't working.
You can post your iRule with the [ code ] [/ code ] tags to preserve indentations.
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
