The following reply was made to PR config/3169; it has been noted by GNATS.

From: Nigel Cole <[EMAIL PROTECTED]>
To: Marc Slemko <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: config/3169: The Include directive should also work in Directory 
context
Date: Mon, 12 Oct 1998 10:21:13 +0100

 In message <[EMAIL PROTECTED]>, Marc
 Slemko <[EMAIL PROTECTED]> writes
 >Well, that says it _IS_ allowing and processing the include, just not
 >allowing what is in it.
 
 I had a closer look at the source over the weekend, and I think I've
 found the problem. The function include_config in http_core.c is entered
 with parms->override set correctly, but it then calls the function
 ap_process_resource_config to process the resources in the file;
 ap_process_resource_config resets parms->override to (RSRC_CONF|OR_ALL)&
 ~(OR_AUTHCFG|OR_LIMIT), which only allows directives that are valid
 outside of <Directory> elements. In effect, this means that the Include
 directive can appear inside a <Directory> element, but only so long as
 the included file only contains directives that are valid outside.
 -- 
 Nigel Cole

Reply via email to