RE: [PHP] Custom 404 Page

From: Date: Wed, 27 Feb 2002 18:42:23 +0000
Subject: RE: [PHP] Custom 404 Page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86447@lists.php.net to get a copy of this message
>I am running apache and php. I want to create a custom 404 page for my >site. I have created a .htaccess file and "ErrorDocument 404 /error.php3" >line to it. >If someone tries to view www.myserver.com/thispagedoesnotexist.htm the 404 >page is displayed without issue. I guess you are using PHP on Windows? I had the same problem with a development server running IIS. I did not find a solution. IIS starts the PHP parser if you use a file with a .php3 extension (or whatever you configured) even when It does not exist. --- Jeroen

« previous php.general (#86447) next »