Validate Drupal installation subdir
Fix default rewrite basedir