<?php
if (file_exists($f)) {
output_header();
include($f);
output_footer();
}
else {
require("YourApacheErrorDocument.html");
}
?>
_________________________
~ John