Modify profile inside iRules

Hi I would of know if is possible change profile inside iRules? The profile is set for Apache (default) but I would like change to IIS.

Regards,

Jackson Franco.

Its definitely possible to modify some of the profile settings via an iRule, if not all of them. What type of profile are you trying to modify? For e.g. we have the ‘Insert X-Forwarded-For’ option within the HTTP profile that you can enable. Similar, it can be modified via an iRule with the “HTTP::header insert” command: DevCentral - An F5 Technical Community

For more details on different TCP or HTTP level options that you can use:

TCP: DevCentral - An F5 Technical Community

HTTP: DevCentral - An F5 Technical Community