--- path_image.module.cvs 2006-12-15 15:29:46.454295112 +0000 +++ path_image.module 2006-12-15 15:26:19.447764888 +0000 @@ -175,8 +175,9 @@ // $path_parts = explode('/', drupal_get_path_alias($_GET['q'])); $path = trim($_SERVER['REDIRECT_URL'], '/'); + $headers = drupal_set_header(); - if (!strlen($path)) { + if (!strlen($path) || strpos($headers, '403 Forbidden')) { if (variable_get('path_image_homepage_use', 0)) { $use_homepage_image = TRUE; }