httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Félix Arreola Rodríguez <>
Subject Question about directive section
Date Fri, 14 Jun 2019 17:40:06 GMT

I'm new in the apache modules develpment. I want to have a per-server
directives, for example:
<MySection name>
Option A
Switch B

Making "option" and "swtich" exclusive to mysection. Also, mysection
is a only server or virtualhost config.

I put this:
AP_INIT_RAW_ARGS("<MySection", mymod_config_app_section, NULL, RSRC_CONF,
	"Container for directives defining MySection"),

But I want to allow apache to parse the rest of the sub-directives,
while preserving these sub-directives inside a server config grouped
by section.

Should I add the sub-directives to my cmds? Or can I use
ap_walk_config to parse the rest of the section? Or can I get a
variable created by "mymod_config_app_section" passed to the

Also, I'm going to add per-directory configs, but none of the "option"
or "switch" or "MySecion" is going to be in the per-directory options.

Thanks for reading.

Atte. Félix Arreola Rodríguez,

View raw message