Forum Discussion
hooleylist
Dec 06, 2012Cirrostratus
Hi Graham,
This should be doable, but keep in mind that the logic of the iRule could be bypassed:
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=30900&ptarget=30901
Basically, you could use [class match -value [HTTP::uri] starts_with uri_to_date_dg] to get the "expire date" and then check if the current date ([clock format [clock seconds] -format "%d%m%Y ) is earlier.
https://devcentral.f5.com/wiki/iRules.class.ashx
http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm
Aaron