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 date and if it has expired they customer will receive a 404 page.
My thinking was that I will use an external class file:
"/123456789/validuri" := "12202012"
If today's date is December 6th 2012 IRULE will validate this against expiry and flag it as OK.
IRULE will then strip /123456789 and pass traffic to webserver as /validuri.
If today's date is December 25th 2012 this would should as expired and customer would receive a 404 page?
Has anyone seen anything like this?
I have had a look in forums but couldn't find a match anywhere.
Is this even possible?
Thanks in advance!