Forum Discussion
Angel_Martinez_
Aug 04, 2011Nimbostratus
iRule vs HttpClass
Hi
Nowadays my customers ask me for many redirection, for example from http to https, from domain.com to www.domain.com... usually easy things...
User wants to force the Host...
You'd need to use a lookbehind to do a negative match with a regex. But you could instead create an HTTP class with a string pattern matching www.domain.com with no action and then create a match all HTTP class which redirects to http://www.domain.com. The string patterns would be more efficient than a regex anyhow.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects