# ignore any common image files return if $uri->path =~ /\.(gif|jpg|jpeg|png)?$/; #### return if $uri->path =~ /\?(C=N;O=D|C=M;O=A)$/;