"Unset" resolve configuration in lower context
A new configuration directive could be added to unset a resolve configuration from a "lower" context which has been defined in a parent context. The directive should work without error even if no such resolve configuration has been defined in a parent context.
Example:
<Directory "/usr/local/apache2/htdocs">
ResolveEnvByProcess my_var none /usr/local/bin/expensive_operation
</Directory>
<Directory "/usr/local/apache2/htdocs/subdir">
ResolveUnsetEnv my_var
</Directory>
Here, my_var
would not be resolved for requests inside /usr/local/apache2/htdocs/subdir
.