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