Forum Discussion
Passing a variable through an iRule
Hamish,
the reason we are doing the lsearch is because the pool name may not always be www.abc.com, it might just be in as contoso.com with no www. So the lsearch is in there to locate the proper html and jpg in the LTM's ifiles location for the pool/site that is trying to be called. in our case we may have many different files for the number of domains we host.
so you are correct in assuming what we are trying to do with $htmlfile (and $imagefile) is to get the corresponding file back from the list of ifiles we would have. again say the client accepted pool is just call abc.com but the file search comes back with www.abc.com.html, we would then want to display that html and jpg file
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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