Forum Discussion
Gregt_33960
Nimbostratus
May 22, 2008IRULES to append and Web Server Errors
Hello,
I have found this forum extremely helpful as I learn more about IRules. I have multiple application environments running on pools of webservers. I have to set the F5 to pe...
Gregt_33960
Nimbostratus
May 22, 2008
Hello,
I will certainly try to explain, but I will apologize now for the confusion. Please bear with me as I not be explaining it very well.
Our application is terse and not very flexible unfortunately. To get to our application log in page the URL must contain the "/jsp/common/PGLogin.jsp" suffix. But we do not want our user community to have to know all that. Hence the logic you saw from the earlier problem. We have multiple environments (train, user, whatif, pilot) and we use a variable definition on each application server instance (the URI filters by that variable definition) to manage them, and IRULE logic is working for all of them except one. When a user types:
http://test.domain.com/train -- the IRULE does the right thing and appends "/train/jsp/common/PGloing.jsp" and sends user to the login page no problem.
this works for any URL that will have URI filter on it..
We have an application environment mapped to the default pool that is defined to the virtual server...
so when the user types in http://test.domain.com I acutally need to create IRULE Logic to append "/user/jsp/common/PGlogin.jsp"
I am confused because there is no filtering on the root URL.
Here is a sample of what I am attempting. We already know that IRULE logic works for "/train" because it filters on the "/train"... but for the URL mapped to the user pool need to set up logic for that.
URI Load Balancing
Desired URI to pool mapping
http://test.domain.com --> user_pool
http://test.domain.com/train --> train_pool
Sorry but is that making any sense?
thanks
greg
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