]> granicus.if.org Git - apache/commitdiff
The ReadmeName directive was putting its value in the wrong place, and
authorRich Bowen <rbowen@apache.org>
Sun, 27 Dec 2009 23:08:15 +0000 (23:08 +0000)
committerRich Bowen <rbowen@apache.org>
Sun, 27 Dec 2009 23:08:15 +0000 (23:08 +0000)
overwriting the HeaderName value.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894113 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c

index 7756f9e4150d15279d9bf5dc9d3db1e362ce0019..8d93f633684f64d1fec400b6b8a0f44503911483 100644 (file)
@@ -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),
                   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. "
                   DIR_CMD_PERMS, "a filename"),
     AP_INIT_RAW_ARGS("FancyIndexing", ap_set_deprecated, NULL, OR_ALL,
                      "The FancyIndexing directive is no longer supported. "