Forum Discussion
Joanna_41630
Nimbostratus
Mar 07, 2013iRule redirect and specify what Pool to go to
Hello -
I am trying to create an iRule to redirect "mypage.mycompany.com" to www.mypage.mycompany.com and also determine what pool it will be going to depending on the URI.
I...
Arie
Altostratus
Mar 09, 2013It sounds like you have two FQDNs going to the VIP: "mypage.mycompany.com" and "www.mypage.mycompany.com". From your description it looks like you want the iRule to do two things:
- Redirect all traffic from "mypage.mycompany.com" to "www.mypage.mycompany.com".
- Select the pool "mysite_http_pool if the client requests the home page or if the path starts with "sp", and select "other_http_pool" for all other requests.
Couple of questions/remarks:
- Do clients ever go to the home page by including the file name (e.g. "www.mypage.mycompany.com/index.html")? If so, what is the file name of the default page (e.g. "index.html")?
- Which pool will be the default pool on the VIP?
- Will it be a problem if the default pool takes down the VIP (since the other pool might still be healthy)?
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