Hi I'm new in the apache modules develpment. I want to have a per-server directives, for example: <MySection name> Option A Switch B </MySection>
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 sub-directive? 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,