httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Gearls <>
Subject mod_macro: Control on bad nesting
Date Fri, 03 Jun 2016 14:12:11 GMT
mod_macro checks that nesting is complete inside a macro.
This looks a good default, however there are some cases where we want 
this and it generates a warning for nothing.
     <Macro MyBeginVhost @name @ip_port>
      <VirtualHost @ip_port>
       ServerName @name

I'd like to add an option to suppress this warning when we need it.
The simplest option I see would be to add something on the macro 
definition line itself. Because we may need some other options later, I 
guess a "flag" would be the most generic approach.
What syntax would be the best one? maybe a (one character) /option after 
the Macro keyword?
Ex: "<Macro/n ...>" (and later "<Macro/ni ..." if we add another flag)

Added a feature request on

View raw message