/httpd/include/ |
H A D | util_ldap.h | 114 const char *host; /* Name of the LDAP server (or space separated list) */ member in struct:util_ldap_connection_t 231 * @param host The hostname to connect to (multiple hosts space separated) 241 * @fn util_ldap_connection_t *util_ldap_connection_find(request_rec *r, const char *host, int port, 245 APR_DECLARE_OPTIONAL_FN(util_ldap_connection_t *,uldap_connection_find,(request_rec *r, const char *host, int port,
|
/httpd/modules/ssl/ |
H A D | ssl_util.c | 46 char *host; local 49 host = s->server_hostname; 59 id = apr_psprintf(p, "%s:%lu", host, (unsigned long)port);
|
H A D | ssl_engine_kernel.c | 176 char *host, *scope_id; local 183 * cause us to end up in a different virtual host as the one that 199 rv = apr_parse_addr_port(&host, &scope_id, &port, r->hostname, r->pool); 203 if (strcasecmp(host, servername)) { 206 " via HTTP are different", servername, host); 223 " virtual host"); 631 "Non-default virtual host with SSLVerify set to " 1933 "SSL virtual host for servername %s found", 1939 "No matching SSL virtual host for servername " 1940 "%s found (using default/first virtual host)", [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy_ajp.c | 32 char *host, *path, sport[7]; local 49 * We break the URL into host, port, path, search 53 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port); 81 if (ap_strchr_c(host, ':')) { 83 host = apr_pstrcat(r->pool, "[", host, "]", NULL); 85 r->filename = apr_pstrcat(r->pool, "proxy:ajp://", host, sport,
|
H A D | mod_proxy_wstunnel.c | 207 char *host, *path, sport[7]; local 233 * We break the URL into host, port, path, search 235 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port); 260 if (ap_strchr_c(host, ':')) { 262 host = apr_pstrcat(r->pool, "[", host, "]", NULL); 264 r->filename = apr_pstrcat(r->pool, "proxy:", scheme, "//", host, sport,
|
H A D | mod_proxy_balancer.c | 60 char *host, *path; local 76 * We break the URL into host, port, path, search 78 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port); 101 r->filename = apr_pstrcat(r->pool, "proxy:" BALANCER_PREFIX, host, 395 /* we break the URL into host, port, uri */
|
H A D | mod_proxy_fcgi.c | 35 char *host, sport[7]; local 53 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port); 65 if (ap_strchr_c(host, ':')) { 67 host = apr_pstrcat(r->pool, "[", host, "]", NULL); 80 r->filename = apr_pstrcat(r->pool, "proxy:fcgi://", host, sport, "/",
|
H A D | mod_proxy_scgi.c | 179 char *host, sport[sizeof(":65535")]; local 190 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port); 204 if (ap_strchr(host, ':')) { /* if literal IPv6 address */ 205 host = apr_pstrcat(r->pool, "[", host, "]", NULL); 214 r->filename = apr_pstrcat(r->pool, "proxy:" SCHEME "://", host, sport, "/",
|
H A D | mod_proxy_ftp.c | 291 char *user, *password, *host, *path, *parms, *strp, sport[7]; local 308 err = ap_proxy_canon_netloc(p, &url, &user, &password, &host, &port); 362 if (ap_strchr_c(host, ':')) { /* if literal IPv6 address */ 363 host = apr_pstrcat(p, "[", host, "]", NULL); 368 (user != NULL) ? "@" : "", host, sport, "/", path, 525 /* print "ftp://host/" */ 920 * ftp://user@host part of the reqest (sans password -if supplied but invalid-) 1025 * Break up the URL to determine the host to connect to 1032 /* We break the URL into host, por [all...] |
H A D | mod_proxy_http.c | 39 char *host, *path, sport[7]; local 63 * We break the URL into host, port, path, search 65 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port); 105 if (ap_strchr_c(host, ':')) { /* if literal IPv6 address */ 106 host = apr_pstrcat(r->pool, "[", host, "]", NULL); 108 r->filename = apr_pstrcat(r->pool, "proxy:", scheme, "://", host, sport, 142 * warn-agent = ( host [ ":" port ] ) | pseudonym 1576 /* If USE_CANONICAL_NAME_OFF was configured for the proxy virtual host,
|
H A D | proxy_util.c | 304 * host holder for host 313 char *addr, *scope_id, *strp, *host, *url = *urlp; local 321 host = url + 2; 322 url = strchr(host, '/'); 331 strp = strrchr(host, '@'); 335 user = host; 336 host = strp + 1; 361 * Parse the host string to separate host portio 404 char *url, *user = NULL, *password = NULL, *err, *host = NULL; local 555 const char *host = proxy_get_host_of_request(r); local 678 const char *host = proxy_get_host_of_request(r); local 703 char *host = This->name; local 731 char *host = This->name; local 775 const char *host = proxy_get_host_of_request(r); local [all...] |
/httpd/server/ |
H A D | listen.c | 960 char *host, *scope_id, *proto; local 978 rv = apr_parse_addr_port(&host, &scope_id, &port, argv[0], cmd->pool); 983 if (host && !strcmp(host, "*")) { 984 host = NULL; 1014 return alloc_listener(cmd->server->process, host, port, proto, NULL);
|
H A D | vhost.c | 19 * @brief functions pertaining to virtual host addresses 140 * Parses a host of the form <address>[:port] 152 char *w, *host, *scope_id; local 174 rv = apr_parse_addr_port(&host, &scope_id, &port, w, p); 176 * host to NULL and port to 80, so watch out for that. 181 if (!host) { 191 if (strcmp(host, "*") == 0 || strcasecmp(host, "_default_") == 0) { 199 rv = apr_sockaddr_info_get(&my_addr, host, APR_UNSPEC, port, 0, p); 202 "Could not resolve host nam 688 fix_hostname_v6_literal(request_rec *r, char *host) argument 721 fix_hostname_non_v6(request_rec *r, char *host) argument 752 strict_hostname_check(request_rec *r, char *host, int logonly) argument 818 char *host, *scope_id; local 901 matches_aliases(server_rec *s, const char *host) argument 941 ap_matches_request_vhost(request_rec *r, const char *host, apr_port_t port) argument 997 const char *host = r->hostname; local [all...] |
H A D | core.c | 911 /* If we haven't checked the host name, and we want to */ 1108 const char *host = ap_get_server_name_for_url(r); local 1111 return apr_pstrcat(p, ap_http_scheme(r), "://", host, uri, NULL); 1114 return apr_psprintf(p, "%s://%s:%u%s", ap_http_scheme(r), host, port, uri); 2573 * During config parsing, s may be a virtual host that would cause 4181 "Container to map directives to a particular virtual host, takes one or " 4182 "more host addresses"), 4309 "A numeric IP address:port, or the name of a host"),
|
/httpd/modules/aaa/ |
H A D | mod_authnz_fcgi.c | 39 const char *host; member in struct:__anon61 128 APLOGNO(02496) "name %s, backend %s, host %s, port %d, " 132 conf->host, 1167 char *host; local 1227 host = ap_rxplus_pmatch(cmd->pool, fcgi_backend_regex, 1); 1228 if (host[0] == '[' && host[strlen(host) - 1] == ']') { 1229 host += 1; 1230 host[strle [all...] |
H A D | mod_authnz_ldap.c | 52 char *host; /* Name of the LDAP server (or space separated list) */ member in struct:__anon65 342 sec->host = NULL; 460 ldc = util_ldap_connection_find(r, sec->host, sec->port, 535 if (sec->host) { 544 ldc = util_ldap_connection_find(r, sec->host, sec->port, 550 "auth_ldap authenticate: no sec->host - weird...?"); 725 if (!sec->host) { 727 "auth_ldap authorize: no sec->host - weird...?"); 853 if (!sec->host) { 855 "auth_ldap authorize: no sec->host [all...] |
/httpd/modules/ldap/ |
H A D | util_ldap.c | 289 /* Since the host will include a port if the default port is not used, 291 * allow a host string that contains multiple hosts the ability to mix 296 ldc->host, 695 const char *host, int port, 725 if ( (l->port == port) && (strcmp(l->host, host) == 0) 767 if ((l->port == port) && (strcmp(l->host, host) == 0) && 836 l->host = apr_pstrdup(l->pool, host); 694 uldap_connection_find(request_rec *r, const char *host, int port, const char *binddn, const char *bindpw, deref_options deref, int secure) argument [all...] |
/httpd/modules/mappers/ |
H A D | mod_rewrite.c | 700 /* skip host part */ 820 char *portp, *host, *url, *scratch; local 825 cp = host = scratch + l + 3; /* 3 == strlen("://") */ 856 if (ap_matches_request_vhost(r, host, port)) { 4544 * check for the ugly API case of a virtual host section where no
|