the patch fixes to things. The first seems to be a wrong message (copy &
paste error). The second makes mod_mime throw a better description, *what*
option was not recognized. Both apply to the MultiViewsMatch directive.
nd
--
Wenn nur Ingenieure mit Diplom programmieren w�rden, h�tten wir
wahrscheinlich weniger schlechte Software.
Wir h�tten allerdings auch weniger gute Software.
-- Felix von Leitner in dasr
Index: modules/http/mod_mime.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/http/mod_mime.c,v
retrieving revision 1.88
diff -u -r1.88 mod_mime.c
--- modules/http/mod_mime.c 5 Sep 2002 11:04:25 -0000 1.88
+++ modules/http/mod_mime.c 10 Dec 2002 20:21:26 -0000
@@ -365,7 +365,7 @@
}
else if (strcasecmp(include, "NegotiatedOnly") == 0) {
if (m->multimatch && (m->multimatch & ~MULTIMATCH_NEGOTIATED)) {
- return "Any is incompatible with NegotiatedOnly, "
+ return "NegotiatedOnly is incompatible with Any, "
"Filters and Handlers";
}
m->multimatch |= MULTIMATCH_NEGOTIATED;
@@ -385,7 +385,7 @@
m->multimatch |= MULTIMATCH_HANDLERS;
}
else {
- return "Unrecognized option";
+ return apr_psprintf(cmd->pool, "Unrecognized option '%s'", include);
}
return NULL;