Forum Discussion
dexter_22020
Nimbostratus
Apr 09, 2009url rewrite with class
Hi,
Newbie on irules here, need help.
class file contains:
/test http://domain.com/main.html
/foo http://domain.com/foo.html
...
...
and so on..
I need an irule that will rewrite anything that starts with /test, /foo, etc.. (left column) to what's equivalent on the right column.
I tried this but I have no idea what's next...
when HTTP_REQUEST {
if { [matchclass [string tolower [HTTP::uri]] starts_with $::test_class] {don't know}
}
Thanks for any info.
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