Forum Discussion
Oxenburger_1420
Nimbostratus
Jan 30, 2014Create iRule to change URI Path to parse last directory
Hi,
I'm trying to create an iRule that matches URI starting with “eat9.raspberry.cheesecake.com/cache/_/(_)” to resolves to “eat9.raspberry.cheesecake.com/(*)” via the F5
i.e. “eat9.raspberry.che...
Thomas_Gobet
Nimbostratus
Jan 30, 2014You don't have to use 2 times $depth for last_dir creation.
You can define it with that :set last_dir [URI::path [HTTP::uri] $depth]
Can you log what your last_string returns to you ?
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