Using ErrorDocument redirect in Apache

From: Date: Thu, 20 Dec 2001 03:02:24 +0000
Subject: Using ErrorDocument redirect in Apache
Groups: php.windows 
Request: Send a blank email to php-windows+get-11028@lists.php.net to get a copy of this message
Little off topic but... I'm trying to customize error response (Apache style), so if the server gets a 404 error (File not found) it will redirect to, for example, a got404.php file script. I changed the httpd.conf of Apache adding the line: ErrorDocument 404 /got404.php But this doesn't seem to work. My config: php4.1.0 - win98 Apache1.3. as CGI - Maybe that the problem - the errordocument redirect may work only in the module?? Help appreciated A+ Alain

« previous php.windows (#11028) next »