You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2003/08/05 21:33:43 UTC
[patch-2.1] DECLINE_CMD and ITERATE
hi all...
currently, using DECLINE_CMD to override config directives has a
limitation - you can't override ITERATE or ITERATE2 prototypes properly.
what ends up happening is that DECLINE_CMD is returned for the first
argument, but then Apache skips over your module for all subsequent
arguments. the only way around this (that I was able to figure out, that
is) is to use RAW_ARGS when overriding these prototypes and do the parsing
yourself.
attached is a patch that fixes this, keeping ITERATE and ITERATE2 focused
on the current module until the argument list is exhausted.
--Geoff