Re: [PHP] Using 404 instead of mod_rewrite

2003-02-03 Thread Dennis Gearon
So '/error.php' is in the DOCUMENT ROOT, not the server root, correct? And I will get all the CGI environment available to the original requested document? Peter Janett wrote: > > Use a relative path in your ErrorDocument line, instead of a full url, and > you'll get what you are looking for. >

Re: [PHP] Using 404 instead of mod_rewrite

2003-02-03 Thread Peter Janett
Use a relative path in your ErrorDocument line, instead of a full url, and you'll get what you are looking for. ErrorDocument 404 /error.php instead of: ErrorDocument 404 http://www.yourdomain.com/error.php Note that even though error.php is in your root (or wherever it is), that it can be calle