Nick on :
The ErrorDocument method of serving up content has a hidden gotcha - at least with Apache 2.2, the default response code will still be 404. You'll end up serving up the page you wanted, but the first line of the response header will still be "404 Not Found".
It turns out there are some browsers out there (Comcast proprietary version of IE6 to name one) that won't render those pages.
If you use this method you _must_ always call header() to set the response code to 200 when you want to send a "real" page.
Or even better, use mod_rewrite instead.
It turns out there are some browsers out there (Comcast proprietary version of IE6 to name one) that won't render those pages.
If you use this method you _must_ always call header() to set the response code to 200 when you want to send a "real" page.
Or even better, use mod_rewrite instead.