Searched refs:port (Results 1 - 25 of 56) sorted by relevance

123

/httpd/modules/core/test/conf/
H A Dtest14.conf3 <Macro MyVirtualHost $host $port $dir>
4 Listen $port
5 <VirtualHost $host:$port>
/httpd/support/
H A Dlog_server_status.in34 my $port = "@PORT@"; # Port on server
53 PeerPort => $port,
60 die "Couldn't connect to $server:$port : $@\n";
H A Dfcgistarter.c33 "usage: fcgistarter -c <command> -p <port> [-i <interface> -N <num>]\n"
68 int num_to_start = 1, port = 0; local
99 port = atoi(arg);
100 if (! port) {
122 if (! command || ! port) {
126 rv = apr_sockaddr_info_get(&skaddr, interface, APR_UNSPEC, port, 0, pool);
/httpd/server/
H A Dvhost.c58 * this chain (needed for port comparisons) */
69 * this chain (need for both ip addr and port
112 * sar matches the address:port pair.
140 * Parses a host of the form <address>[:port]
144 * port is the default port to assume
155 apr_port_t port; 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.
179 return "The address or port i
405 find_default_server(apr_port_t port) argument
819 apr_port_t port; local
941 ap_matches_request_vhost(request_rec *r, const char *host, apr_port_t port) argument
998 apr_port_t port; local
1072 apr_port_t port; local
1202 apr_port_t port; local
1249 apr_port_t port; local
[all...]
H A Dlisten.c202 * us to attach to the same port as an already running instance of
204 * port was exclusively granted to this instance of Apache.
292 static int find_systemd_socket(process_rec * process, apr_port_t port) argument
312 if (sd_is_socket_inet(fd, 0, 0, -1, port) > 0) {
373 static const char *set_systemd_listener(process_rec *process, apr_port_t port, argument
378 int fd = find_systemd_socket(process, port);
380 return "Systemd socket activation is used, but this port is not "
408 apr_port_t port, const char* proto,
416 /* see if we've got an old listener for this address:port */
424 oldport = sa->port;
407 alloc_listener(process_rec *process, char *addr, apr_port_t port, const char* proto, void *slave) argument
813 apr_port_t port; local
961 apr_port_t port; local
[all...]
H A Dapreq_cookie.c94 if (!strncasecmp("port", attr, 4)) {
95 c->port = apr_pstrmemdup(p,val,vlen);
162 c->port = NULL;
506 ADD_RFC_ATTR(port);
524 NULL2EMPTY(c->port), NULL2EMPTY(c->comment),
/httpd/include/
H A Dhttp_vhost.h59 * @param arg a host of the form "<address>[:port]"
107 * @param port The port from the headers
108 * @return return 1 if the host:port matches any of the aliases of r->server,
112 apr_port_t port);
H A Dutil_ldap.h115 int port; /* Port of the LDAP server */ member in struct:util_ldap_connection_t
232 * @param port The port to connect to
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,
H A Dapreq_cookie.h57 char *port; /**< Restricts server port */ member in struct:apreq_cookie_t
/httpd/modules/proxy/
H A Dmod_serf.h46 apr_port_t port; member in struct:ap_serf_server_t
H A Dmod_proxy_connect.c94 return "AllowCONNECT: port numbers must be numeric";
107 "Cannot parse '%s' as port number", p);
117 static int allowed_port(connect_conf *conf, int port) argument
123 return port == APR_URI_HTTPS_DEFAULT_PORT
124 || port == APR_URI_SNEWS_DEFAULT_PORT;
128 if (port >= list[i].first && port <= list[i].last)
239 /* we break the URL into host, port, uri */
247 "connecting %s to %s:%d", url, uri.hostname, uri.port);
249 /* Determine host/port o
[all...]
H A Dmod_serf.c477 APR_UNSPEC, choice->port, 0,
483 APR_UNSPEC, conf->url.port, 0,
638 if (!conf->url.port) {
639 conf->url.port = apr_uri_port_of_scheme(conf->url.scheme);
812 unsigned int port; member in struct:hb_server_t
891 server->port = 80;
909 if (apr_table_get(hbt, "port")) {
910 server->port = atoi(apr_table_get(hbt, "port"));
985 x->port
1062 apr_port_t port = 0; local
[all...]
H A Dmod_proxy_scgi.c181 apr_port_t port, def_port; local
188 port = def_port = SCGI_DEF_PORT;
190 err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port);
197 if (port != def_port) {
198 apr_snprintf(sport, sizeof(sport), ":%u", port);
239 conn->hostname, conn->port);
385 conn->hostname, conn->port);
562 backend->hostname, backend->port);
H A Dmod_proxy_ftp.c294 apr_port_t port, def_port; local
307 port = def_port;
308 err = ap_proxy_canon_netloc(p, &url, &user, &password, &host, &port);
357 if (port != def_port)
358 apr_snprintf(sport, sizeof(sport), ":%d", port);
771 /* Parse EPSV reply and return port, or zero on error. */
776 long port; local
778 /* Reply syntax per RFC 2428: "229 blah blah (|||port|)" where '|'
788 port = strtol(p + 4, &ep, 10);
789 if (errno || port <
[all...]
/httpd/modules/cache/
H A Dmod_socache_memcache.c118 apr_port_t port; local
120 rv = apr_parse_addr_port(&host_str, &scope_id, &port, split, p);
134 if (port == 0) {
135 port = MC_DEFAULT_SERVER_PORT;
139 host_str, port,
148 host_str, port);
156 host_str, port);
/httpd/test/
H A Dtest_limits.c75 "usage: test_limits [-t (r|n|h|b)] [-a address] [-p port] [-n num]\n");
89 int port = 80; local
110 port = atoi(optarg);
130 sin.sin_port = htons(port);
/httpd/modules/cluster/
H A Dmod_heartbeat.c172 apr_port_t port = 0; local
190 rv = apr_parse_addr_port(&host_str, &scope_id, &port, addr, cmd->temp_pool);
200 if (port == 0) {
201 return "HeartbeatAddress: No port provided in address";
204 rv = apr_sockaddr_info_get(&ctx->mcast_addr, host_str, APR_INET, port, 0,
H A Dmod_heartmonitor.c51 unsigned int port; member in struct:hm_server_t
327 if (apr_table_get(hbt, "port")) {
328 node.port = atoi(apr_table_get(hbt, "port"));
330 node.port = 80;
332 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port=%u\n",
333 ip, node.ready, node.busy, (unsigned int) seen, node.port);
337 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port=%u\n",
338 s->ip, s->ready, s->busy, (unsigned int) seen, s->port);
347 apr_file_printf(fp, "%s &ready=%u&busy=%u&lastseen=%u&port
499 hm_get_server(hm_ctx_t *ctx, const char *ip, const int port) argument
534 int port = 80; local
830 apr_port_t port = 0; local
[all...]
/httpd/modules/arch/netware/
H A Dmod_nw_ssl.c27 * argument is an address and/or port. The second argument is the key pair
37 * argument is an address and/or port. The second argument is the key pair
110 struct sockaddr_in local_addr; /* local IP address and port */
116 apr_port_t port; member in struct:seclisten_rec
123 apr_port_t port; member in struct:seclistenup_rec
165 * Parses a host of the form <address>[:port]
166 * :port is permitted if 'port' is not NULL
209 fprintf(stderr, "a secure port. Exiting!!!\n");
237 if ((sl->port
474 unsigned short port; local
569 unsigned short port; local
754 unsigned short port = secwalk->port; local
869 char port[8]; local
[all...]
/httpd/modules/ssl/
H A Dssl_util.c47 apr_port_t port; local
50 if (s->port != 0)
51 port = s->port;
55 port = DEFAULT_HTTPS_PORT;
57 port = DEFAULT_HTTP_PORT;
59 id = apr_psprintf(p, "%s:%lu", host, (unsigned long)port);
H A Dssl_engine_ocsp.c95 if (!u->port) {
96 u->port = apr_uri_port_of_scheme(u->scheme);
H A Dssl_util_ocsp.c46 uri->hostname, uri->port, len);
69 rv = apr_sockaddr_info_get(&sa, uri->hostname, APR_UNSPEC, uri->port, 0, p);
/httpd/modules/dav/main/
H A Dutil.c192 apr_port_t port; local
220 /* If the scheme or port was provided, then make sure that it matches
221 the scheme/port of this request. If the request must be absolute,
222 then require the (explicit/implicit) scheme/port be matching.
224 ### hmm. if a port wasn't provided (does the parse return port==0?),
225 ### but we're on a non-standard port, then we won't detect that the
226 ### URI's port implies the wrong one.
228 if (comp.scheme != NULL || comp.port != 0 || must_be_absolute)
235 /* insert a port i
[all...]
/httpd/modules/aaa/
H A Dmod_authnz_fcgi.c40 apr_port_t port; member in struct:__anon61
72 /* fcgi://{hostname|IPv4|IPv6}:port[/] */
128 APLOGNO(02496) "name %s, backend %s, host %s, port %d, "
133 (int)conf->port,
1170 int ca = 0, rc, port; local
1233 port = atoi(ap_rxplus_pmatch(cmd->pool, fcgi_backend_regex, 2));
1234 if (port > 65535) {
1238 "' has invalid port",
1244 conf->port = port;
[all...]
/httpd/modules/metadata/
H A Dmod_ident.c69 /* Semi-well-known port */
94 0, /* ephemeral port */
135 * client sends only port numbers; the server takes the IP
141 "rfc1413: Error binding query socket to local port");
169 sav_our_port = conn->local_addr->port;
170 sav_rmt_port = conn->client_addr->port;

Completed in 722 milliseconds

123