I have a php script that renders an image (with imagick) and saves it to some directory \"SITE_ROOT.$filePath\", then does a header(\'Location: \' . SITE_
\"SITE_ROOT.$filePath\"
header(\'Location: \' . SITE_
header('Location: ' . $filePath);
SITE_ROOT is the location of the htdocs directory on the server; but header Location should be the path to the file relative to the htdocs directory