Forum Discussion
OCC_68606
May 24, 2011Nimbostratus
iRule 301 Location
Hi Everybody,
I am looking for a way to the following:
I want to manage several sites and send it with a permanent redirect to general site, for example:
When I ent...
richard_77048
May 24, 2011Nimbostratus
Couldn't you just extend the idea you had originally. Like this:
switch -glob [string tolower [HTTP::host]] {
"www.site1.com" -
"www.site2.com" -
"www.site3.com" -
"site1.com" -
"site2.com" -
"site3.com" {
HTTP::respond 301 Location "http://www.generalsite.com[HTTP::uri]"
}
Or did I misunderstand what you wanted to do?
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