coar 97/11/27 08:10:46
Modified: src/main http_config.c Log: Enhance the "unknown directive" error message to indicate some reasons *why* it might be invalid. PR: 1479, 1480, and lots of others Reviewed by: Dean Gaudet, Martin Kraemer Revision Changes Path 1.86 +3 -2 apachen/src/main/http_config.c Index: http_config.c =================================================================== RCS file: /export/home/cvs/apachen/src/main/http_config.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- http_config.c 1997/11/06 20:40:42 1.85 +++ http_config.c 1997/11/27 16:10:45 1.86 @@ -804,8 +804,9 @@ do { if (!(cmd = find_command_in_modules(cmd_name, &mod))) { errno = EINVAL; - return pstrcat(parms->pool, "Invalid command '", cmd_name, "'", - NULL); + return pstrcat(parms->pool, "Invalid command '", cmd_name, + "', perhaps mis-spelled or defined by a module " + "not included in the server configuration", NULL); } else { void *mconfig = get_module_config(config, mod);