Forum Discussion
LyonsG_85618
Dec 06, 2012Cirrostratus
IRULE to block URI after a specific date
I have been asked to create VIP to route traffic through to a test web server.
What the customer want is a test URI that has an expiry date. The date will then be verified aganist the current da...
LyonsG_85618
Jan 22, 2013Cirrostratus
Nitass - thanks for response.
Not sure I follow this though ?
% set uri "/123456789/testsite1"
/123456789/testsite1
% scan $uri {/%*[^/]%s} real
1
% put $real
/testsite1
I was looking at doing this
if {[HTTP::uri] starts_with "/xxl"} {
HTTP::uri [string range [HTTP::uri] 9 end]
Which would mean they would need to start their random string withh xx and IRULE would strip off the characters.
I could then add this back in under HTTP response?
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