Page 218 tells us "Enter the following code:" and "save a page called
error.php. Unfortunately, I can find no information as to which directory one is to save the file to. Actually, I've tried what I am able to think of and none work. First, one would think that it should be in the root directory (c:/Program Files/Apache Group/Apache2/test) and trying the directions in the book on page 219 to type into the browser address line "http//localhost/error.php?500" does work (and that's a no-brainer). However when trying to actually get the server to direct an actual error to this file for our error message (as in typing in the address line "http://localhost/asdf/qwerty/pqge.html" or any
http://localhost/NoSuchPage.htm) the error page generated is the usual Apache not found error, not the error from error.php. In addition the following is reported Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Obviously, I don't have the error.php program where it should be. But where is that? I've tried also putting it in the "C:/Program Files/Apache Group/error" directory and (surprisingly) the "http//localhost/error.php?500" does work, but, again, the real error of a file that does not exist is not processed by error.php.
OK! What dumb mistake did I make????? Where should error.php be placed?
Thanks, in advance for the help.
JAH