Configure URI constraint

Configure URI constraint
Credit: Norm Tovey-Walsh