Searched refs:uri (Results 1 - 25 of 97) sorted by relevance

1234

/httpd/modules/lua/test/htdocs/
H A Dhooks.lua5 if r.uri == "/translate-name" then
6 r.uri = "/find_me.txt"
13 if r.uri == "/translate-name2" then
14 r.uri = "/find_me.txt"
22 if r.uri == "/test_fixupstest" then
/httpd/modules/lua/test/
H A Dhelpers.lua9 function get(uri)
10 return http.request(base_url .. uri)
13 function post(uri, body)
29 return http.request(base_url .. uri, flat)
/httpd/modules/ssl/
H A Dssl_util_ocsp.c30 static BIO *serialize_request(OCSP_REQUEST *req, const apr_uri_t *uri) argument
44 uri->path ? uri->path : "/",
45 uri->query ? "?" : "", uri->query ? uri->query : "",
46 uri->hostname, uri->port, len);
59 static apr_socket_t *send_request(BIO *request, const apr_uri_t *uri, argument
69 rv = apr_sockaddr_info_get(&sa, uri
284 modssl_dispatch_ocsp_request(const apr_uri_t *uri, apr_interval_time_t timeout, OCSP_REQUEST *request, conn_rec *c, apr_pool_t *p) argument
[all...]
H A Dssl_ct_log_config.c132 apr_uri_t uri; local
134 rv = apr_uri_parse(p, lu, &uri);
136 if (!uri.scheme
137 || !uri.hostname
138 || !uri.path) {
144 if (strcmp(uri.scheme, "http")) {
149 lu, uri.scheme);
152 if (strcmp(uri.path, "/")) {
156 lu, uri.path);
161 *puri = uri;
195 apr_uri_t uri; local
[all...]
H A Dssl_ct_log_config.h34 apr_uri_t uri; member in struct:ct_log_config
H A Dssl_util_stapling.c53 char *uri; member in struct:__anon345
124 if (!cinf->uri && !mctx->stapling_force_url) {
167 /* allocate uri from the pconf pool */
168 cinf->uri = apr_pstrdup(p, sk_OPENSSL_STRING_value(aia, 0));
401 apr_uri_t uri; local
428 ocspuri = cinf->uri;
432 "stapling_renew_response: no uri for responder");
440 ok = apr_uri_parse(vpool, ocspuri, &uri);
443 "stapling_renew_response: Error parsing uri %s",
448 else if (strcmp(uri
[all...]
/httpd/modules/aaa/
H A Dmod_authz_owner.c51 r->user, r->uri, reason ? reason : "unknown");
65 r->user, r->uri, reason ? reason : "unknown");
75 r->user, r->uri, reason ? reason : "unknown");
83 r->user, r->uri, reason ? reason : "unknown");
92 r->user, r->uri, reason ? reason : "unknown");
101 r->user, r->uri, reason ? reason : "unknown");
129 r->user, r->uri, reason ? reason : "unknown");
139 r->user, r->uri, reason ? reason : "unknown");
147 r->user, r->uri, reason ? reason : "unknown");
156 r->user, r->uri, reaso
[all...]
H A Dmod_allowhandlers.c49 r->uri, r->filename);
69 r->handler, r->uri, r->filename);
75 r->uri, r->filename);
H A Dmod_auth_basic.c268 "client used wrong authentication scheme: %s", r->uri);
315 "need AuthName: %s", r->uri);
410 sent_user, r->uri);
415 "user %s not found: %s", sent_user, r->uri);
456 "AuthBasicFake: could not evaluate user expression for URI '%s': %s", r->uri, err);
461 "AuthBasicFake: empty username expression for URI '%s', ignoring", r->uri);
471 "AuthBasicFake: could not evaluate password expression for URI '%s': %s", r->uri, err);
476 "AuthBasicFake: empty password expression for URI '%s', ignoring", r->uri);
/httpd/modules/mappers/
H A Dmod_alias.c119 static int alias_matches(const char *uri, const char *alias_fakename);
408 static int alias_matches(const char *uri, const char *alias_fakename) argument
410 const char *aliasp = alias_fakename, *urip = uri;
444 return urip - uri;
486 apr_uri_t uri; local
500 apr_uri_parse(r->pool, found, &uri);
502 found = apr_uri_unparse(r->pool, &uri, APR_URI_UNP_OMITQUERY);
504 if (uri.query) {
505 found = apr_pstrcat(r->pool, found, "?", uri.query, NULL);
507 if (uri
540 apr_uri_t uri; local
[all...]
H A Dmod_vhost_alias.c254 const char *map, const char *uri)
377 r->filename = apr_pstrcat(r->pool, docroot, uri, NULL);
385 const char *name, *map, *uri; local
393 cgi = strstr(r->uri, "cgi-bin/");
394 if (cgi && (cgi != r->uri + strspn(r->uri, "/"))) {
401 uri = cgi + strlen("cgi-bin");
403 else if (r->uri[0] == '/') {
406 uri = r->uri;
253 vhost_alias_interpolate(request_rec *r, const char *name, const char *map, const char *uri) argument
[all...]
H A Dmod_speling.c233 * r->uri: /correct-url/mispelling/more
244 if (filoc == -1 || strcmp(r->uri, "/") == 0) {
255 urlen = strlen(r->uri);
259 if (strcmp(postgood, r->uri + (urlen - pglen))) {
264 url = apr_pstrndup(r->pool, r->uri, (urlen - pglen));
395 r->uri, nuri,
433 *(const char **)apr_array_push(t) = ap_escape_html(sub_pool, r->uri);
504 r->uri, candidates->nelts,
H A Dmod_userdir.c211 if (r->uri[0] != '/' || r->uri[1] != '~') {
221 dname = r->uri + 2;
326 ap_set_context_info(r, apr_pstrmemdup(r->pool, r->uri,
327 dname - r->uri),
H A Dmod_dir.c246 if (r->uri[0] == '\0' || r->uri[strlen(r->uri) - 1] != '/')
264 ifile = apr_pstrcat(r->pool, ap_escape_uri(r->pool, r->uri),
268 ifile = apr_pstrcat(r->pool, ap_escape_uri(r->pool, r->uri),
332 apr_table_setn(r->headers_out, "Location", ap_construct_url(r->pool, rr->uri, r));
H A Dmod_rewrite.c241 (r->main->uri && r->uri && strcmp(r->main->uri, r->uri)))
392 const char *uri; member in struct:__anon242
514 static unsigned is_absolute_uri(char *uri, int *supportsqs) argument
521 if (*uri == '/' || strlen(uri) <= 5) {
525 switch (*uri++) {
528 if (!strncasecmp(uri, "j
685 escape_absolute_uri(apr_pool_t *p, char *uri, unsigned scheme) argument
2601 expand_tildepaths(request_rec *r, char *uri) argument
[all...]
/httpd/modules/dav/main/
H A Dliveprop.c36 static void dav_register_liveprop_namespace(apr_pool_t *p, const char *uri) argument
45 value = (long)apr_hash_get(dav_liveprop_uris, uri, APR_HASH_KEY_STRING);
52 apr_hash_set(dav_liveprop_uris, uri, APR_HASH_KEY_STRING,
56 DAV_DECLARE(long) dav_get_liveprop_ns_index(const char *uri) argument
58 return (long)apr_hash_get(dav_liveprop_uris, uri, APR_HASH_KEY_STRING);
H A Dutil.c186 DAV_DECLARE(dav_lookup_result) dav_lookup_uri(const char *uri,
198 if (apr_uri_parse(r->pool, uri, &comp) != APR_SUCCESS) {
425 const char *prefix, const char *uri)
428 apr_hash_set(xi->prefix_uri, prefix, APR_HASH_KEY_STRING, uri);
432 apr_hash_set(xi->uri_prefix, uri, APR_HASH_KEY_STRING, prefix);
436 const char *uri)
440 if ((prefix = apr_hash_get(xi->uri_prefix, uri,
445 dav_xmlns_add(xi, prefix, uri);
456 const char *uri)
458 return apr_hash_get(xi->uri_prefix, uri, APR_HASH_KEY_STRIN
424 dav_xmlns_add(dav_xmlns_info *xi, const char *prefix, const char *uri) argument
435 dav_xmlns_add_uri(dav_xmlns_info *xi, const char *uri) argument
455 dav_xmlns_get_prefix(dav_xmlns_info *xi, const char *uri) argument
468 void *uri; local
534 dav_add_if_resource(apr_pool_t *p, dav_if_header *next_ih, const char *uri, apr_size_t uri_len) argument
626 const char *uri = NULL; /* scope of current production; NULL=no-tag */ local
847 const char *uri; local
[all...]
H A Dstd_liveprop.c83 const char *name = NULL, *uri = NULL; local
88 if (!res_hooks->get_resource_type(resource, &name, &uri) &&
91 if (!uri || !strcasecmp(uri, "DAV:"))
97 " xmlns:x=\"", uri,
/httpd/server/
H A Drequest.c110 "configuration error: couldn't %s: %s", phase, r->uri);
116 status, r->uri);
154 ap_getparents(r->uri); /* OK --- shrinking transformations... */
157 * next several steps. Only file subrequests are allowed an empty uri,
242 "access_checker_ex hook: %s", r->uri);
257 r->uri);
271 r->uri);
279 "access_checker_ex hook: %s", r->uri);
294 r->uri);
315 access_status, r->uri);
1379 char *uri = apr_pstrdup(r->pool, r->uri); local
[all...]
H A Dutil_script.c286 add_unless_null(e, "REDIRECT_URL", r->prev->uri);
299 AP_DECLARE(int) ap_find_path_info(const char *uri, const char *path_info) argument
301 int lu = strlen(uri);
304 while (lu-- && lp-- && uri[lu] == path_info[lp]) {
306 while (lu && uri[lu-1] == '/') lu--;
314 while (uri[lu] != '\0' && uri[lu] != '/') {
365 apr_table_setn(e, "SCRIPT_NAME", r->uri);
371 apr_table_setn(e, "SCRIPT_NAME", r->uri);
374 int path_info_start = ap_find_path_info(r->uri,
[all...]
/httpd/modules/dav/fs/
H A Ddbm.c446 const char *uri; local
466 for (ns = 0, uri = db->ns_table.buf + sizeof(dav_propdb_metadata);
468 uri += strlen(uri) + 1) {
472 apr_pstrdup(pool, uri), APR_HASH_KEY_STRING,
515 const char *uri = db->ns_table.buf + sizeof(dav_propdb_metadata); local
518 for (ns = 0; ns < db->ns_count; ++ns, uri += strlen(uri) + 1) {
524 if (*uri == '\0')
531 apr_pstrdup(xi->pool, uri));
583 const char *uri = *puri; local
[all...]
/httpd/modules/proxy/
H A Dmod_proxy_connect.c221 apr_uri_t uri; local
239 /* we break the URL into host, port, uri */
240 if (APR_SUCCESS != apr_uri_parse_hostinfo(p, url, &uri)) {
247 "connecting %s to %s:%d", url, uri.hostname, uri.port);
250 connectname = proxyname ? proxyname : uri.hostname;
251 connectport = proxyname ? proxyport : uri.port;
265 if (ap_proxy_checkproxyblock(r, conf, uri.hostname,
276 if(!allowed_port(c_conf, uri.port)) {
372 "CONNECT %s HTTP/1.0" CRLF, r->uri);
[all...]
H A Dproxy_util.c382 const char *uri = ap_escape_html(r->pool, r->uri); local
386 uri, "\">", ap_escape_html(r->pool, r->method), "&nbsp;", uri,
397 r->uri);
412 if ((url = strchr(r->uri, ':')) == NULL || url[1] != '/' || url[2] != '/') {
850 * XXX FIXME: Ensure the /uri component is a case sensitive match
1087 char *c, *uri = apr_pstrdup(p, url); local
1091 c = strchr(uri, ':');
1095 /* remove path from uri */
1148 char *c, *q, *uri = apr_pstrdup(p, url); local
1660 apr_uri_t uri, urisock; local
2234 ap_proxy_determine_connection(apr_pool_t *p, request_rec *r, proxy_server_conf *conf, proxy_worker *worker, proxy_conn_rec *conn, apr_uri_t *uri, char **url, const char *proxyname, apr_port_t proxyport, char *server_portstr, int server_portstr_size) argument
3330 ap_proxy_create_hdrbrgd(apr_pool_t *p, apr_bucket_brigade *header_brigade, request_rec *r, proxy_conn_rec *p_conn, proxy_worker *worker, proxy_server_conf *conf, apr_uri_t *uri, char *url, char *server_portstr, char **old_cl_val, char **old_te_val) argument
[all...]
/httpd/modules/session/
H A Dmod_session.c65 if (strncmp(r->uri, include, strlen(include)) == 0) {
74 if (strncmp(r->uri, exclude, strlen(exclude)) == 0) {
108 "excluded by configuration for: %s", r->uri);
117 "session not loaded: %s", r->uri);
123 "session not loaded: %s", r->uri);
140 "session not loaded: %s", r->uri);
189 "session not saved: %s", r->uri);
195 "session not saved: %s", r->uri);
215 "session not saved: %s", r->uri);
224 "session not saved: %s", r->uri);
[all...]
/httpd/include/
H A Dutil_script.h58 * @param uri The uri we are currently parsing
61 * @fn int ap_find_path_info(const char *uri, const char *path_info)
63 AP_DECLARE(int) ap_find_path_info(const char *uri, const char *path_info);

Completed in 118 milliseconds

1234