Forum Discussion
Gill_32697
Nimbostratus
Feb 13, 2014edit irule to display page root and sub folders folder
This is my current iRule, it works except that the default page is not displaying all the icons, links etc. Developers says its because the default webpage contains root sub folders that need to be d...
Kevin_Stewart
Employee
Feb 13, 2014Put the following values into a separate string-based data group (ex. uri_dg):
/mortgageloanoptions
/portals/5/documents
/mortgageresourcecenter
/contactus
/about
/admin
/host
And then modify this iRule as required:
when HTTP_REQUEST {
if { ( [HTTP::uri] equals "/" ) or ( [class match [string tolower [HTTP::uri]] starts_with uri_dg] ) } {
return
} else {
if { [class match [string tolower [HTTP::uri]] starts_with Mortgage_iRuler] } {
HTTP::redirect [class match -value [string tolower [HTTP::uri]] starts_with Mortgage_iRuler]
} else {
node 10.13.0.59
}
}
}
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