Forum Discussion
hooleylist
Jun 11, 2012Cirrostratus
So this should work for your scenario to check for a directory of all digits:
if { [string is digit [getfield [HTTP::uri] "/" 2]] } {
log local0. " [getfield [HTTP::uri] "/" 2] is ok"
} else {
log local0. " [getfield [HTTP::uri] "/" 2] is not ok"
}
Aaron