Forum Discussion
Aug 02, 2013
sample irule for redirect / rewrite
BIG-IP VE (Virtual Edition) v10.2.4 ( build 577.0 )
Could someone please provide or point me to an irule that performs redirects / rewrites , including the match class and associated data-file. ...
Aug 05, 2013
Scenario is a single monolithic site being broken-up into micro-sites - but not in one fell swoop, so all sites must co-exist for a period of time.
Micro-sites are deployed with natural-language urls that each are mapping to an old-style url that is handled by the monolithic site server.
So the need for redirects is motivated by SEO.
In addition to redirects, also have need perform invisible rewrites of the natural language URLs to the the old-style URLs ( handled by the monolithic site ).
QUESTION : how exactly should I perform the rewrite ? I've seen rewrite iRules written like this :
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::uri]] starts_with rewrites_datagroup] } {
HTTP::uri "http://[class match -value [string tolower [HTTP::uri]] starts_with rewrites_datagroup]"
}
}
But what I find strange is that the apparently there's no need to specify the destination pool ... ?
So how exactly does the request find its way to the pool ?
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