Forum Discussion
Robberhines_120
Oct 14, 2013Nimbostratus
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