note 9120 added to Apache-specific Functions

From: Date: Tue, 17 Oct 2000 17:26:21 +0000
Subject: note 9120 added to Apache-specific Functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-6574@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. http://www.php.net/manual/ref.apache.php

« previous php.notes (#6574) next »