Forum Discussion
IRule no longer working after upgrade from 10.2.4 to 11.4.1
We have the following irule forcing host header to the name of the client ssl profile, it no longer works. It's sending data that the webserver doesn't like and the site won't load. Anyone have any idea how to rewrite this Irule in 11.4.1?
Also, anyone have a link to irule changes in the upgrade path that I supplied in the title any help is greatly appreciated.
when HTTP_REQUEST {
HTTP::header remove Host HTTP::header insert Host [PROFILE::clientssl name]
}
1 Reply
- Kevin_Stewart
Employee
What you'll find in v11 systems is that objects are now prefaced by the container partitions that they're in. If you were to log the above PROFILE command, you'd probably see something like this:
/Common/my-clientssl-profileOne of the best ways to get around this then is to simply strip that partition value out of the string. For example, if you know the profile is in the Common partition:
[string map -nocase {"/Common/" ""} [PROFILE::clientssl name]]will remove the /Common/ portion of the string and leave behind just the profile name.
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