Cannot assign iRule to virtual server outside of iApp scope
Hi,
here is my scenario:
I have created a fast_http vs which is to run an iRule to re-direct https traffic other virtual servers based on URI segments.
I have created the fast_http vs and have created the sub-VS via iApps.
I have reference the iApps created VS in the iRule - all good, but when I apply the iRule to the fast_http VS I get the following error:
01070151:3: Rule [/Common/********* ] error: Unable to find virtual_server ******* referenced at line 7.
Why would this be?
Can items during iApp creation be accessed by other VS outside of the iApp scope?
I have amended the iRule and change it to another non-iApp VS and that works fine.
Thanks
If you created the sub-vs first (with or without an iapp), then created the fast_http vs, then created and attached the irule, I don't see a problem. Perhaps you did not properly specify the name of the iapp-created vs--it will be in the iapp folder (e.g. /Common/my_iapp.app/), not in /Common. By the way, why not build the whole application inside the iapp?