Forum Discussion
pgsmith_120398
Altostratus
Apr 29, 2013Use dynamic variable derived from datagroup in irule
This is probably a very easy question...
We are testing using iRules to host multiple web server clusters beneath a single public IP using iRules. We have an iRule that looks at a datagroup and ...
pgsmith_120398
Altostratus
Apr 29, 2013Posted By nitass on 04/29/2013 07:50 AM
sorry the default HTTP::respond was incorrect. can you correct it as following?
from HTTP::respond 200 content [ifile get $hostvar] "Content-Type" "text/html" to HTTP::respond 200 content [ifile get ${hostvar}index_html] "Content-Type" "text/html"
In this change would my datagroup only contain the application name APP1, APP2, instead of the entire file name APP1index_html, APP2index_html? Right now the DG contains the full file name.
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