Lines Matching refs:hostname
434 const char *hostname, *scheme;
472 if (conf->base_uri && conf->base_uri->hostname) {
473 hostname = conf->base_uri->hostname;
476 /* Use _default_ as the hostname if none present, as in mod_vhost */
477 hostname = ap_get_server_name(r);
478 if (!hostname) {
479 hostname = "_default_";
483 else if (parsed_uri->hostname) {
484 /* Copy the parsed uri hostname */
485 hn = apr_pstrdup(p, parsed_uri->hostname);
488 hostname = hn;
491 /* We are a proxied request, with no hostname. Unlikely
493 hostname = "_default_";
552 else if (conf->base_uri && conf->base_uri->hostname) {
647 *key = apr_pstrcat(p, scheme, "://", hostname, port_str, path, "?",
651 *key = apr_pstrcat(p, scheme, "://", hostname, port_str, path, "?",
716 || !(r->parsed_uri.hostname && location_uri.hostname
717 && !strcmp(r->parsed_uri.hostname,
718 location_uri.hostname))) {
731 || !(r->parsed_uri.hostname && content_location_uri.hostname
732 && !strcmp(r->parsed_uri.hostname,
733 content_location_uri.hostname))) {