Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- [error.php]Which location?
March 27, 2006, 6:58 am
rate this thread
I'm a newbie learning PHP APACHE MySQL from a manual.
I've reached the errors processing chapter, they made me type a nice
"error.php" file which handles errors 400, 403, 500, except they don't
say where to copy it.
I tried under c:\wamp\www\, c:\wamp\apache2\errors, but it doesn't
I modified httpd.conf that way:
ErrorDocument 400 /error.php?400
ErrorDocument 401 /error.php?401
ErrorDocument 403 /error.php?403
I restarted the AMP services.
Any help would me much appreciated!!
Re: Which location?
Unfortunately this AMP distribution for windows does not haved an
\htdocs directory, although it is mentionned in httpd.conf.
I created this directory and copied error.php in it, but still get the
traditional error page 404.
I'll ask directly on the WAMP forum, they probably had an idea of their
own, not obvious for a newbie.
Many thanks for your reply.
- » Multiple database access Bug in adoDB and It's Solution
- — Previous thread in » PHP Scripting Forum