In the scan of sub-config trees, mod_info sometimes seems to lose track of where it was, failing to provide all information and/or scrambling the </close> tags. This seems particularly evident in <VirtualHost> sections. The easiest way to fix it seemed to be to rewrite the tree scan recursively; the enclosed patch implements that, as well as correctly indenting subsection headers and allowing for indentation nesting of more than two levels. It also implements a new feature: ?config simply dumps the entire configuration tree without sorting it into modules. I left the indentation incorrect in the second part in order to avoid adding 130 specious lines to the patch. The file in the url is the complete mod_info.c, detabbed and indented properly
Created attachment 12561 [details] patch for mod_info (head)
A Patch based on the one here has been committed to CVS HEAD / 2.1.0. Thanks for the Patch, -Paul Querna