Two questions about the ErrorDocument directive:
1) I've got a line "ErrorDocument 404 /file_not_found.cfm" in httpd.conf
that apparently directs all 404 errors to the same page in my document root
directory. The problem is that all of the relative links on this error
response page are broken if the 404 error comes from anywhere other than the
document root directory. Can this be fixed?
2) Can I put a .htaccess file in any subdirectory (of the document root
directory) with an ErrorDocument directive in order for that subdirectory to
have its own 404 error response page? I've tried this, but all I get is the
default 404 error message (not even the file_not_found.cfm specified in
httpd.conf). I've got "AllowOverride FileInfo" in my config files, so
that's not the problem.
Help?
Derek Bruff
ENVOY Corporation