Lines Matching +refs:val +refs:server
90 (apr_pool_t *p, const char *val, apr_hash_t *ht),
91 (p, val, ht), OK, DECLINED)
99 * server operations, including options and commands which control the
103 * to allow a server with the core module ONLY to actually serve documents.
558 * these are part of the core server config.
779 sconf = ap_get_core_module_config(r->server->module_config);
992 /* There are two options regarding what the "name" of a server is. The
1013 retval = r->server->server_hostname;
1020 r->server->server_hostname);
1029 retval = r->hostname ? r->hostname : r->server->server_hostname;
1041 * Get the current server name from the request for the purposes
1042 * of using in a URL. If the server name is an IPv6 literal
1070 r->server->port ? r->server->port :
1074 r->server->port ? r->server->port :
1081 * server. (If no port was specified in the ServerName
1087 port = r->server->port ? r->server->port :
1091 port = r->server->port ? r->server->port :
1160 if ((forbidden & NOT_IN_VIRTUALHOST) && cmd->server->is_virtual) {
1214 void *sconf = cmd->server->module_config;
1445 void *sconf = cmd->server->module_config;
1481 void *sconf = cmd->server->module_config;
1505 if (cmd->server->is_virtual) {
1574 ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, cmd->server, APLOGNO(00113)
1585 * canned server error response
1692 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(00114)
1772 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(00115)
1794 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server,
1802 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server,
1921 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(00117)
2259 conf = ap_set_config_vectors(cmd->server, new_dir_conf, cmd->path,
2284 ap_add_per_dir_conf(cmd->server, new_dir_conf);
2340 conf = ap_set_config_vectors(cmd->server, new_url_conf, cmd->path,
2356 ap_add_per_url_conf(cmd->server, new_url_conf);
2427 conf = ap_set_config_vectors(cmd->server, new_file_conf, cmd->path,
2494 conf = ap_set_config_vectors(cmd->server, new_if_conf, cmd->path,
2570 * points to the main server config, if passed from cmd->server
2575 * because mod_so's server config for vhosts is initialized later.
2609 found = find_module(cmd->server, arg);
2686 server_rec *main_server = cmd->server, *s;
2726 cmd->server = s;
2731 cmd->server = main_server;
2739 if (!cmd->server->names) {
2747 item = (char **)apr_array_push(cmd->server->wild_names);
2750 item = (char **)apr_array_push(cmd->server->names);
2764 ap_get_core_module_config(cmd->server->module_config);
2797 ap_get_core_module_config(cmd->server->module_config);
2817 char *struct_ptr = (char *)cmd->server;
2850 "\" use ServerAlias to set multiple server names.", NULL);
2857 cmd->server->server_scheme = (const char *)scheme;
2865 cmd->server->server_hostname = apr_pstrndup(cmd->pool, part,
2876 cmd->server->server_hostname = apr_pstrdup(cmd->pool, part);
2880 cmd->server->port = port;
2949 cmd->server->timeout = apr_time_from_sec(atoi(arg));
3008 cmd->server->path = arg;
3009 cmd->server->pathlen = (int)strlen(arg);
3113 error = ap_process_fnmatch_configs(cmd->server, conffile, &conftree,
3145 ap_log_error(APLOG_MARK, APLOG_TRACE3, 0, cmd->server,
3161 if ((module = find_module(cmd->server, arg)) == NULL) {
3163 ap_log_error(APLOG_MARK, APLOG_TRACE6, 0, cmd->server,
3165 module = find_module(cmd->server, name);
3173 ap_log_error(APLOG_MARK, APLOG_TRACE3, 0, cmd->server,
3192 log = &cmd->server->log;
3213 sconf = ap_get_core_module_config(cmd->server->module_config);
3252 ap_is_url(r->server->server_admin) ? "" : "mailto:",
3253 ap_escape_html(r->pool, r->server->server_admin),
3268 * Handle a request to include the server's OS platform in the Server
3344 * This routine adds the real server base identity to the banner string,
3425 cmd->server->limit_req_line = lim;
3446 cmd->server->limit_req_fieldsize = lim;
3467 cmd->server->limit_req_fields = lim;
3502 int val = 0;
3505 val = AP_MAXRANGES_NORANGES;
3508 val = AP_MAXRANGES_DEFAULT;
3511 val = AP_MAXRANGES_UNLIMITED;
3514 val = atoi(arg);
3515 if (val <= 0)
3520 conf->max_ranges = val;
3528 int val = 0;
3531 val = AP_MAXRANGES_NORANGES;
3534 val = AP_MAXRANGES_DEFAULT;
3537 val = AP_MAXRANGES_UNLIMITED;
3540 val = atoi(arg);
3541 if (val <= 0)
3546 conf->max_overlaps = val;
3554 int val = 0;
3557 val = AP_MAXRANGES_NORANGES;
3560 val = AP_MAXRANGES_DEFAULT;
3563 val = AP_MAXRANGES_UNLIMITED;
3566 val = atoi(arg);
3567 if (val <= 0)
3572 conf->max_reversals = val;
3592 ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd->server, APLOGNO(00118)
3643 ap_get_core_module_config(cmd->server->module_config);
3650 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(00119)
3664 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(00120)
3705 ap_get_core_module_config(r->server->module_config);
3766 ap_get_core_module_config(cmd->server->module_config);
3788 ap_get_core_module_config(cmd->server->module_config);
3832 ap_get_core_module_config(cmd->server->module_config);
3845 ap_get_core_module_config(cmd->server->module_config);
4058 cmd->server->errorlog_provider = NULL;
4098 cmd->server->errorlog_provider = provider;
4107 ap_get_core_module_config(cmd->server->module_config);
4158 core_server_config *conf = ap_get_module_config(cmd->server->module_config,
4252 /* Old server config file commands */
4266 "The email address of the server administrator"),
4268 "The hostname and port of the server"),
4270 "En-/disable server signature (on|off|email)"),
4272 "Common directory of server-related files (logs, confs, etc.)"),
4281 "A name or names alternately used to access the server"),
4283 "The pathname the server can be reached at"),
4402 "A file for logging the server process ID"),
4436 * Core handlers for various phases of server operation...
4456 if (r->server->path
4457 && !strncmp(r->uri, r->server->path, r->server->pathlen)
4458 && (r->server->path[r->server->pathlen - 1] == '/'
4459 || r->uri[r->server->pathlen] == '/'
4460 || r->uri[r->server->pathlen] == '\0'))
4462 path = r->uri + r->server->pathlen;
4634 "file permissions deny server access: %s", r->filename);
5201 const char *val = NULL;
5203 val = apr_table_get(server_config_defined_vars, name);
5204 if (val)
5205 apr_file_printf(out, "Define: %s=%s\n", name, val);
5280 create_core_server_config, /* create per-server config structure */
5281 merge_core_server_configs, /* merge per-server config structures */