Displaying a Block on 2nd level pages but not 3rd level
The drupal.org/project/context module can do this. In addition to the typical wildcard * operator ... its Path conditions support a Not operator ~.