| 1954 | } |
| 1955 | |
| 1956 | AP_DECLARE(int) ap_process_config_tree(server_rec *s, |
| 1957 | ap_directive_t *conftree, |
| 1958 | apr_pool_t *p, |
| 1959 | apr_pool_t *ptemp) |
| 1960 | { |
| 1961 | const char *errmsg; |
| 1962 | cmd_parms parms; |
| 1963 | |
| 1964 | parms = default_parms; |
| 1965 | parms.pool = p; |
| 1966 | parms.temp_pool = ptemp; |
| 1967 | parms.server = s; |
| 1968 | parms.override = (RSRC_CONF | OR_ALL) & ~(OR_AUTHCFG | OR_LIMIT); |
| 1969 | parms.override_opts = OPT_ALL | OPT_SYM_OWNER | OPT_MULTI; |
| 1970 | parms.limited = -1; |
| 1971 | |
| 1972 | errmsg = ap_walk_config(conftree, &parms, s->lookup_defaults); |
| 1973 | if (errmsg) { |
| 1974 | if (parms.err_directive) |
| 1975 | ap_log_perror(APLOG_MARK, APLOG_STARTUP, 0, p, APLOGNO(00526) |
| 1976 | "Syntax error on line %d of %s:", |
| 1977 | parms.err_directive->line_num, |
| 1978 | parms.err_directive->filename); |
| 1979 | ap_log_perror(APLOG_MARK, APLOG_STARTUP, 0, p, "%s", errmsg); |
| 1980 | return HTTP_INTERNAL_SERVER_ERROR; |
| 1981 | } |
| 1982 | |
| 1983 | return OK; |
| 1984 | } |
| 1985 | |
| 1986 | apr_status_t ap_open_htaccess(request_rec *r, const char *dir_name, |
| 1987 | const char *access_name, |
no test coverage detected