Submitted by: Dean Gaudet
Reviewed by: Roy Fielding, Ralf S. Engelschall, Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3@78891
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 1.2.2
+ *) Fixed improper vhost merging of <Location> and <Directory>: changed the
+ ordering of the arguments to append_arrays for the main server's before
+ the vhost's.
+ [Dean Gaudet]
+
*) Bugfix for case where multiple <Directory>s match and all are applied.
[Dean Gaudet]
*conf = *virt;
if (!conf->access_name) conf->access_name = base->access_name;
if (!conf->document_root) conf->document_root = base->document_root;
- conf->sec = append_arrays (p, virt->sec, base->sec);
- conf->sec_url = append_arrays (p, virt->sec_url, base->sec_url);
+ conf->sec = append_arrays (p, base->sec, virt->sec);
+ conf->sec_url = append_arrays (p, base->sec, virt->sec_url);
return conf;
}