Commit 02b42068 authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Fix mod_info, so that <Directory> and <Location> directives are

not displayed twice when displaying the current configuration.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88416 13f79535-47bb-0310-9956-ffa450edef68
parent 7cf4f507
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
Changes with Apache 2.0.14-dev

  *) Fix mod_info, so that <Directory> and <Location> directives are
     not displayed twice when displaying the current configuration.
     [Ryan Morgan <rmorgan@covalent.net>]

  *) Add config directives to override DEFAULT_ERROR_MSG and
     DEFAULT_TIME_FORMAT.  This was sent in as PR 6193.
     [Dan Rench <drench@xnet.com>]
+2 −1
Original line number Diff line number Diff line
@@ -192,7 +192,8 @@ static void mod_info_module_cmds(request_rec * r, const command_rec * cmds,
    while (tmptree != NULL) {
	cmd = cmds;
	while (cmd->name) {
	    if (!strcasecmp(cmd->name, tmptree->directive)) {
	    if ((cmd->name[0] != '<') && 
                (strcasecmp(cmd->name, tmptree->directive) == 0)) {
		if (nest > block_start) {
		    block_start++;
		    apr_snprintf(htmlstring, sizeof(htmlstring), "%s %s",