/httpd/build/ |
H A D | buildinfo.sh | 38 echo " %h ...... substituted by determined hostname (bar)" 58 hostname='' 85 # determine hostname and domainname 87 hostname="`(uname -n) 2>/dev/null |\ 89 if [ "x$hostname" = "x" ]; then 90 hostname="`(hostname) 2>/dev/null |\ 92 if [ "x$hostname" = "x" ]; then 93 hostname='unknown' 96 case $hostname i [all...] |
/httpd/support/ |
H A D | logresolve.c | 38 * Compiling NCSA HTTPD with the -DMINIMAL_DNS flag turns IP#->hostname 54 * compiled with -DMAXIMUM_DNS; after finding the hostname from the IP 55 * address, it looks up the IP addresses for the hostname and checks 208 char *hostname; local 237 hostname = (char *) apr_hash_get(cache, line, APR_HASH_KEY_STRING); 238 if (hostname) { 239 apr_file_printf(outfile, "%s %s", hostname, space + 1); 256 * the IP address into a hostname. 266 status = apr_getnameinfo(&hostname, ip, 0) != APR_SUCCESS; 267 if (status || hostname [all...] |
H A D | logresolve.pl.in | 128 my (@buffer, $child, $ip, $rest, $hostname, $response); 153 ($ip, $hostname) = split(/\|/, $response, 2); 154 $hash{$ip} = $hostname; 161 # separate IP from rest and replace with cached hostname 189 # parent.. 1 line in (IP address), 1 line out (IP + hostname). 202 # perform a time restricted hostname lookup. 206 my $hostname = undef; 208 # do the hostname lookup inside an eval. The eval will use the 213 $hostname = gethostbyaddr(gethostbyname($ip), AF_INET); 221 # return the hostname o [all...] |
H A D | ab.c | 282 char *hostname; /* host name from URL */ variable 820 printf("Server Hostname: %s\n", hostname); 1097 trstring, tdstring, tdstring, hostname); 1673 connecthost = apr_pstrdup(cntxt, hostname); 1678 printf("Benchmarking %s ", hostname); 1950 "://]hostname[:port]/path\n", progname); 2049 rv = apr_parse_addr_port(&hostname, &scope_id, &port, h, cntxt); 2050 if (rv != APR_SUCCESS || !hostname || scope_id) { 2056 host_field = apr_psprintf(cntxt, "[%s]", hostname); 2059 host_field = hostname; [all...] |
/httpd/include/ |
H A D | http_vhost.h | 50 * @param hostname The hostname in the VirtualHost statement 53 const char *ap_parse_vhost_addrs(apr_pool_t *p, const char *hostname, server_rec *s); 103 * Match the host in the header with the hostname of the server for this 106 * @param host The hostname in the headers
|
/httpd/modules/cache/ |
H A D | cache_storage.c | 434 const char *hostname, *scheme; local 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 */ [all...] |
H A D | cache_util.c | 30 /* Determine if "url" matches the hostname, scheme and port and path 37 /* Scheme, hostname port and local part. The filter URI and the 40 * <scheme>[:://<hostname>[:<port>][/<path>]] 43 * scheme for equality, and then if present we match the hostname, 52 if (url->scheme || url->hostname) { 62 /* If the filter hostname is null or empty it matches any hostname, 63 * if it begins with a "*" it matches the _end_ of the URI hostname 65 * of the URI * hostname including the ".", otherwise it must match 66 * the URI hostname exactl [all...] |
/httpd/modules/proxy/ |
H A D | proxy_util.c | 52 const char *target_host; /* Target hostname */ 407 if (r->hostname != NULL) { 408 return r->hostname; 424 r->hostname = host; 601 "2)IP-NoMatch: hostname=%s msg=Host not found", host); 782 const char *hostname, apr_sockaddr_t *addr) 793 hostname, npent[j].name); 794 if (ap_strstr_c(hostname, npent[j].name) || npent[j].name[0] == '*') { 797 "matched", hostname, npent[j].name); 803 * not resolve the hostname 781 ap_proxy_checkproxyblock(request_rec *r, proxy_server_conf *conf, const char *hostname, apr_sockaddr_t *addr) argument 3409 const char* hostname = apr_table_get(r->headers_in,"Host"); local [all...] |
H A D | mod_proxy_ajp.c | 216 conn->worker->s->hostname); 298 conn->worker->s->hostname); 338 conn->worker->s->hostname); 638 conn->worker->s->hostname); 657 conn->worker->s->hostname); 782 backend->hostname); 794 worker->cp->addr, worker->s->hostname); 813 worker->cp->addr, worker->s->hostname);
|
H A D | mod_proxy_http.c | 338 p_conn->hostname ? p_conn->hostname: "", 503 p_conn->hostname ? p_conn->hostname: "", 838 p_conn->addr, p_conn->hostname ? p_conn->hostname: "", 860 p_conn->addr, p_conn->hostname ? p_conn->hostname: "", 1030 p_conn->addr, p_conn->hostname ? p_conn->hostname [all...] |
H A D | mod_proxy_connect.c | 247 "connecting %s to %s:%d", url, uri.hostname, uri.port); 250 connectname = proxyname ? proxyname : uri.hostname; 258 "failed to resolve hostname '%s'", connectname); 264 /* Check ProxyBlock directive on the hostname/address. */ 265 if (ap_proxy_checkproxyblock(r, conf, uri.hostname,
|
H A D | mod_proxy.h | 101 const char *hostname; /* the hostname of this proxy */ member in struct:proxy_remote 242 apr_pool_t *pool; /* Subpool for hostname and addr data */ 243 const char *hostname; member in struct:__anon281 350 char hostname[PROXY_WORKER_MAX_HOSTNAME_SIZE]; /* remote backend address */ member in struct:__anon284 573 /** Test whether the hostname/address of the request are blocked by the ProxyBlock 577 * @param hostname hostname from request URI 578 * @param addr resolved address of hostname, or NULL if not known 582 const char *hostname, apr_sockaddr_ [all...] |
H A D | mod_serf.c | 377 serf_bucket_headers_setn(hdrs_bkt, "Host", ctx->conf->url.hostname); 433 conf->url.hostname, 437 "SerfCluster: unable to find cluster %s", conf->url.hostname); 482 rv = apr_sockaddr_info_get(&address, conf->url.hostname, 488 ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01128) "Unable to resolve: %s", conf->url.hostname);
|
H A D | mod_proxy_scgi.c | 239 conn->hostname, conn->port); 385 conn->hostname, conn->port); 562 backend->hostname, backend->port);
|
H A D | mod_proxy.c | 522 if (!(r->parsed_uri.hostname 524 && ap_matches_request_vhost(r, r->parsed_uri.hostname, 535 && r->parsed_uri.hostname 884 /* Send a redirection if the request contains a hostname which is not */ 896 if (!r->proxyreq || r->method_number != M_GET || !r->parsed_uri.hostname) 900 if (strchr(r->parsed_uri.hostname, '.') != NULL /* has domain, or IPv4 literal */ 901 || strchr(r->parsed_uri.hostname, ':') != NULL /* IPv6 literal */ 902 || strcasecmp(r->parsed_uri.hostname, "localhost") == 0) 909 r->parsed_uri.hostname = apr_pstrcat(r->pool, r->parsed_uri.hostname, [all...] |
/httpd/server/ |
H A D | vhost.c | 225 const char *hostname, 233 while (hostname[0]) { 234 err = get_addresses(p, ap_getword_conf(p, &hostname), &addrs, s->port); 644 char *hostname; local 646 rv = apr_getnameinfo(&hostname, s->addrs->host_addr, 0); 648 s->server_hostname = apr_pstrdup(p, hostname); 801 /* Lowercase and remove any trailing dot and/or :port from the hostname, 804 * In most configurations the exact syntax of the hostname isn't 807 * the hostname is interpolated into the filename, we need to be sure 826 src = host_header ? host_header : r->hostname; 224 ap_parse_vhost_addrs(apr_pool_t *p, const char *hostname, server_rec *s) argument [all...] |
H A D | listen.c | 429 ((!addr && !sa->hostname) || 430 ((addr && sa->hostname) && !strcmp(sa->hostname, addr)))) { 812 char *hostname; local 830 hostname = apr_pstrdup(p, lr->bind_addr->hostname); 832 apr_sockaddr_info_get(&sa, hostname, APR_UNSPEC, port, 0, p);
|
H A D | util.c | 1812 AP_DECLARE(char *) ap_construct_server(apr_pool_t *p, const char *hostname, argument 1816 return apr_pstrdup(p, hostname); 1819 return apr_psprintf(p, "%s:%u", hostname, port); 2265 char *hostname; local 2274 if ( (apr_getnameinfo(&hostname, sockaddr, 0) == APR_SUCCESS) && 2275 (ap_strchr_c(hostname, '.')) ) { 2276 server_hostname = apr_pstrdup(a, hostname); 2281 apr_sockaddr_ip_get(&hostname, sockaddr); 2282 server_hostname = apr_pstrdup(a, hostname);
|
/httpd/ |
H A D | ap.d | 15 char *hostname;
|
/httpd/modules/aaa/ |
H A D | mod_auth_digest.c | 1484 if (src->hostname && src->hostname[0] != '\0') { 1485 dst->hostname = apr_pstrdup(r->pool, src->hostname); 1486 ap_unescape_url(dst->hostname); 1489 dst->hostname = (char *) ap_get_server_name(r); 1612 if (d_uri.hostname) { 1613 ap_unescape_url(d_uri.hostname); 1658 /* check hostname matches, if present */ 1659 (d_uri.hostname [all...] |
/httpd/modules/ssl/ |
H A D | ssl_util_ocsp.c | 46 uri->hostname, uri->port, len); 69 rv = apr_sockaddr_info_get(&sa, uri->hostname, APR_UNSPEC, uri->port, 0, p);
|
H A D | ssl_engine_ocsp.c | 83 if (rv || !u->hostname) {
|
/httpd/modules/arch/netware/ |
H A D | mod_nw_ssl.c | 529 ((!addr && !sa->hostname) || 530 ((addr && sa->hostname) && !strcmp(sa->hostname, addr)))) { 671 ((!(*secwalk)->addr && !sa->hostname) || 672 (((*secwalk)->addr && sa->hostname) && !strcmp(sa->hostname, (*secwalk)->addr)))) { 760 ((!addr && !sa->hostname) || 761 ((addr && sa->hostname) && !strcmp(sa->hostname, addr)))) {
|
/httpd/modules/dav/main/ |
H A D | util.c | 252 "(%s://hostname:%d)" APR_EOL_STR 253 "(want: %s://hostname:%d)", 275 if (comp.hostname != NULL 276 && strrchr(comp.hostname, '.') == NULL 278 comp.hostname = apr_pstrcat(r->pool, comp.hostname, domain, NULL); 281 /* now, if a hostname was provided, then verify that it represents the 285 if (comp.hostname != NULL && 286 !ap_matches_request_vhost(r, comp.hostname, port)) {
|
/httpd/modules/loggers/ |
H A D | mod_journald.c | 132 IOVEC_ADD("REQUEST_HOSTNAME=%s", r->hostname);
|