On Wed, Oct 11, 2017 at 10:38 PM, Yann Ylavic <ylavic....@gmail.com> wrote: > > Thus, how about if there, for 2.4.x only (i.e. backport patch), we'd > instead check for: >> + || (((forbidden & NOT_IN_PROXY) >> + || (forbidden & NOT_IN_DIR_LOC_FILE) == NOT_IN_DIR_LOC_FILE >> + || (forbidden & GLOBAL_ONLY) == GLOBAL_ONLY) >> + && ((found = ...) >> + || ...))) > ?
Looks like there are other usages of NOT_IN_DIR_LOC_FILE we should hack in ap_check_cmd_context() too, but you probably see the idea...