From: Rich Bowen Date: Sun, 27 Dec 2009 23:08:15 +0000 (+0000) Subject: The ReadmeName directive was putting its value in the wrong place, and X-Git-Tag: 2.3.5~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cabc39d8db93b4eb52c6124b035672d02104a1b;p=apache The ReadmeName directive was putting its value in the wrong place, and overwriting the HeaderName value. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894113 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 7756f9e415..8d93f63368 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -583,7 +583,7 @@ static const command_rec autoindex_cmds[] = (void *)APR_OFFSETOF(autoindex_config_rec, header), DIR_CMD_PERMS, "a filename"), AP_INIT_TAKE1("ReadmeName", ap_set_string_slot, - (void *)APR_OFFSETOF(autoindex_config_rec, header), + (void *)APR_OFFSETOF(autoindex_config_rec, readme), DIR_CMD_PERMS, "a filename"), AP_INIT_RAW_ARGS("FancyIndexing", ap_set_deprecated, NULL, OR_ALL, "The FancyIndexing directive is no longer supported. "