Forum Discussion
Russell_Findley
Nimbostratus
Jan 23, 2006Redirect Rule from WWW to Unique URL
I am unable to train our customers to stop using WWW in front of their url so I wanted to write a rule to redirect them, but I need some help with the syntax.
I'm trying to do the following....
Colin_Walker_12
Jan 23, 2006Historic F5 Account
Well, you can read more about it here:
Click here
But, I'll be happy to explain a bit.
Basically, the substr command returns the string in question, starting at the offset given. So, that command should return the htt_host, starting at the fourth character.
This should turn www.x.domain.com into x.domain.com, since it skips the "www.".
-Colin
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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