Or, on Apache, you could have a single .htaccess file in the
webserver root directory, with a single ErrorDocument directive,
and have the script handling the 404 errors(e.g. /myerrorpage.php)
present an "error page" that is suitable for your site, including
differences for different parts of the site. You can use values of
the Apache "REDIRECT_" variables to tailor your response to the error.
http://httpd.apache.org/docs/custom-error.html
Yes - it would be on Apache 1.3.33. That's the thing. From the main root
there would be many sub-dirs one of which would be a different "theme" and
content. Basically a different site but accessible only from the main
site. That sub-dir would have it's own sub-dirs under it with all things
relevant to it's "theme".
The custom 404 given to the main site would make no sense when encountered
in the pseudo-site in the sub-dir.
I had thought that a 404 directive would be generated by the server in
general without regard to what dir/sub-dir the error was encountered in;
ignoring any .htaccess params set in any other than the main root. Or at
least overrode by the main root .htaccess params.
I've linked-up the docs you pointed me to and will study them soon.
As far as .htaccess control goes - are the resulting params set further
into the dir tree; overriding or adding to the previous configs from a
parent dir? Or is that file only relevant to the dir (and children) it's
in?