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
I think what you're looking for would look something like this:
if (http_uri starts_with "www") {
redirect to "http://something.%h/%u/"
}-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