Yes, I was going to suggest something similar:
Config::ApacheFormat lets you use Apache-style configuration files for other purposes, so you can, for example, override the global definitions based on path.
Comment on Re^2: Single file oriented for different usage