note 9120 deleted from Apache-specific Functions by zak

From: Date: Tue, 17 Oct 2000 17:29:05 +0000
Subject: note 9120 deleted from Apache-specific Functions by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-6575@lists.php.net to get a copy of this message
How can i setup apache or php or what code is necessary to let apache handle a 404 error? I have a script which tests for the presence of a file, i would like it to say to apache that it must use the Apache ErrorDocument in the case the file is not present. Is it possible? I tried header("HTTP/1.0 404 Not Found"); but after this command it doesn't use ErrorDocument to do handle the problem.

« previous php.notes (#6575) next »