httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject [patch-2.1] DECLINE_CMD and ITERATE
Date Tue, 05 Aug 2003 19:33:43 GMT
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

Mime
View raw message