summaryrefslogtreecommitdiffstats
path: root/include/util_cfgtree.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Include ap_config.h to get the definition of AP_DECLARE_DATA.Jeff Trawick2000-11-141-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86950 13f79535-47bb-0310-9956-ffa450edef68
* Port mod_info to 2.0. This is basically a complete re-write to use theRyan Bloom2000-11-141-0/+6
| | | | | | | | | | config tree instead of re-reading the config file. As a part of this change, the config tree needs to be exposed to modules as ap_conftree. Submitted by: Ryan Morgan <rmorgan@covalent.net> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86948 13f79535-47bb-0310-9956-ffa450edef68
* Document util_cfgtree using ScanDocRyan Bloom2000-08-061-5/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86006 13f79535-47bb-0310-9956-ffa450edef68
* clean up cmd_parms: config_file is no longer valid; end_token is bogus;Greg Stein2000-04-241-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add directive. move configfile_t and functions from httpd.h to http_config.h new signature for ap_build_config() (since config_file removed from cmd_parms) add "data" to ap_directive_t for future use by modules. add filename. syntax checking for section-close directives: a section-open must exist, the section-close must be </FOO>, and the open/close must match. the file as a whole must be properly balanced (issue errors for each unmatched section-open). </FOO> command_rec structures are obsolete. Remove from http_core.c. do not store </FOO> directives in the config tree. clean out section-close logic from http_core.c (and old, related comments) <Limit> and <LimitExcept> must walk their children. new mechanism in ap_check_cmd_context() for testing enclosure in a Directory/Location/File: find_parent() <IfModule> and <IfDefine> must pass cmd->context when walking the children several places: we had a walk followed by ap_get_module_config(). that assumed the walk would create a config that we could fetch, which is not true -- it is possible that the children are all from other modules (e.g. the <Files> section in httpd.conf-dist has no "core" directives). using ap_set_config_vectors() ensures we get a structure, and it returns it to us. [ note: when we had </Directory> (and friends) in the tree, the config would get created; removing the directive removed the config; this was a bitch to track down :-) ] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85024 13f79535-47bb-0310-9956-ffa450edef68
* First step to getting configuration modules working. This step createsRyan Bloom2000-04-121-0/+70
a tree, but does not use the tree for anything. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84949 13f79535-47bb-0310-9956-ffa450edef68