Searched defs:path (Results 1 - 25 of 36) sorted by relevance

12

/httpd/include/
H A Dapreq_cookie.h55 char *path; /**< Restricts url path */ member in struct:apreq_cookie_t
H A Dapreq_module.h328 * @param path New path to use; may be NULL.
333 apr_status_t apreq_temp_dir_set(apreq_handle_t *req, const char *path) argument
335 return req->module->temp_dir_set(req, path);
342 * @param path Resulting path to temp dir.
344 * @return APR_SUCCESS implies path is valid, but may also be NULL.
346 * path undefined.
349 apr_status_t apreq_temp_dir_get(apreq_handle_t *req, const char **path) argument
351 return req->module->temp_dir_get(req, path);
[all...]
H A Dhttp_config.h318 * server context (path == NULL) or being called in a dir context
319 * (path != NULL). */
320 char *path; member in struct:cmd_parms_struct
1097 * @param path The path to the htaccess file
1106 const char *path,
/httpd/test/
H A Dcls.c97 char path[FILENAME_MAX + 1]; local
123 sprintf(path, "%s/%s", argv[1], s);
124 fp = fopen(path, "r");
/httpd/modules/apreq/
H A Dhandle.c378 const char *path)
389 if (path != NULL)
390 ctx->temp_dir = apr_pstrdup(handle->pool, path);
399 const char **path)
408 *path = ctx->parser ? ctx->parser->temp_dir : ctx->temp_dir;
377 apache2_temp_dir_set(apreq_handle_t *handle, const char *path) argument
398 apache2_temp_dir_get(apreq_handle_t *handle, const char **path) argument
/httpd/modules/proxy/
H A Dmod_proxy_fdpass.c33 const char *path; local
42 path = ap_server_root_relative(r->pool, url);
44 r->filename = apr_pstrcat(r->pool, "proxy:fd://", path, NULL);
52 const char* path,
65 rv = ap_proxy_connect_uds(s, path, p);
51 get_socket_from_path(apr_pool_t *p, const char* path, apr_socket_t **out_sock) argument
H A Dmod_proxy_ajp.c32 char *host, *path, sport[7]; local
49 * We break the URL into host, port, path, search
61 * now parse path/search args, according to rfc1738:
62 * process the path. With proxy-nocanon set (by
66 path = url; /* this is the raw path */
69 path = ap_proxy_canonenc(r->pool, url, strlen(url), enc_path, 0,
73 if (path == NULL)
86 "/", path, (search) ? "?" : "",
H A Dmod_proxy_wstunnel.c207 char *host, *path, sport[7]; local
233 * We break the URL into host, port, path, search
243 * now parse path/search args, according to rfc1738:
244 * process the path. With proxy-nocanon set (by
248 path = url; /* this is the raw path */
251 path = ap_proxy_canonenc(r->pool, url, strlen(url), enc_path, 0,
255 if (path == NULL)
265 "/", path, (search) ? "?" : "",
H A Dmod_proxy_balancer.c60 char *host, *path; local
76 * We break the URL into host, port, path, search
86 * now parse path/search args, according to rfc1738:
87 * process the path. With proxy-noncanon set (by
91 path = url; /* this is the raw path */
94 path = ap_proxy_canonenc(r->pool, url, strlen(url), enc_path, 0,
98 if (path == NULL)
102 "/", path, (search) ? "?" : "", (search) ? search : "", NULL);
104 r->path_info = apr_pstrcat(r->pool, "/", path, NUL
145 char *path = NULL; local
390 const char *path = NULL; local
1162 char *path; local
[all...]
H A Dmod_proxy_fcgi.c37 char *path; local
71 path = url; /* this is the raw path */
74 path = ap_proxy_canonenc(r->pool, url, strlen(url), enc_path, 0,
77 if (path == NULL)
81 path, NULL);
96 ap_unescape_url_keep2f(path, 0);
99 char *split = ap_strchr(path, '.');
105 *slash = '\0'; /* truncate path */
110 char *split = ap_strrchr(path, '
[all...]
H A Dmod_proxy_scgi.c180 const char *err, *path; local
208 path = ap_proxy_canonenc(r->pool, url, strlen(url), enc_path, 0,
210 if (!path) {
215 path, NULL);
218 r->path_info = apr_pstrcat(r->pool, "/", path, NULL);
H A Dmod_serf.c642 if (!conf->url.path) {
643 conf->url.path = "/";
775 if (strcmp(key, "path") != 0) {
792 return "SerfCluster Heartbeat requires a path to the heartbeat information.";
839 static apr_status_t read_heartbeats(const char *path, argument
847 if (!path) {
851 rv = apr_file_open(&fp, path, APR_READ|APR_BINARY|APR_BUFFERED,
955 const char *path = apr_table_get(params, "path"); local
959 path
[all...]
/httpd/modules/cache/
H A Dcache_storage.c436 const char *path; local
468 * path and using the canonical name seems to be the right thing to do
565 path = uri;
579 * of the path and that the parameter matches our identifier
581 if ((param = ap_strrchr_c(path, ';'))
585 path = apr_pstrmemdup(p, path, param - path);
647 *key = apr_pstrcat(p, scheme, "://", hostname, port_str, path, "?",
651 *key = apr_pstrcat(p, scheme, "://", hostname, port_str, path, "
[all...]
H A Dmod_socache_dbm.c90 return apr_psprintf(tmp, "Invalid cache file path %s", arg);
128 const char *path = apr_pstrcat(p, DEFAULT_DBM_PREFIX, namespace, local
131 ctx->data_file = ap_runtime_dir_relative(p, path);
135 "could not use default path '%s' for DBM socache",
136 path);
H A Dcache_util.c30 /* Determine if "url" matches the hostname, scheme and port and path
31 * in "filter". All but the path comparisons are case-insensitive.
39 * /<path>
40 * <scheme>[:://<hostname>[:<port>][/<path>]]
41 * That is, if there is no scheme then there must be only the path,
42 * and we check only the path; if there is a scheme, we check the
44 * and then if present match the port, and finally the path if any.
46 * Note that this means that "/<path>" only matches local paths,
50 /* Is the filter is just for a local path or a proxy URI? */
113 /* For HTTP caching purposes, an empty (NULL) path i
265 const char *path; local
[all...]
H A Dmod_socache_shmcb.c290 char *path, *cp, *cp2; local
302 ctx->data_file = path = ap_runtime_dir_relative(p, arg);
304 cp = strrchr(path, '(');
305 cp2 = path + strlen(path) - 1;
332 else if (cp2 >= path && *cp2 == ')') {
353 const char *path = apr_pstrcat(p, DEFAULT_SHMCB_PREFIX, namespace, local
356 ctx->data_file = ap_runtime_dir_relative(p, path);
367 "Could not use default path '%s' for shmcb socache",
/httpd/modules/ssl/
H A Dssl_util.c118 BOOL ssl_util_path_check(ssl_pathcheck_t pcm, const char *path, apr_pool_t *p) argument
122 if (path == NULL)
124 if (pcm & SSL_PCM_EXISTS && apr_stat(&finfo, path,
H A Dssl_engine_init.c1181 char *path; local
1188 path = ap_server_root_relative(p, ticket_key->file_path);
1190 rv = apr_file_open(&fp, path, APR_READ|APR_BINARY,
1196 path, rv, &rv);
1205 TLSEXT_TICKET_KEY_LEN, path, rv, &rv);
1224 (mySrvConfig(s))->vhost_id, path);
1694 * Process CA certificate path files
/httpd/server/
H A Dapreq_module_custom.c236 const char **path)
240 *path = req->parser->temp_dir;
245 const char *path)
248 (void)path;
235 custom_temp_dir_get(apreq_handle_t *handle, const char **path) argument
244 custom_temp_dir_set(apreq_handle_t *handle, const char *path) argument
H A Dapreq_module_cgi.c902 const char *path)
911 if (path != NULL)
912 *temp_dir = apr_pstrdup(handle->pool, path);
921 const char **path)
924 *path = (req->parser == NULL)
901 cgi_temp_dir_set(apreq_handle_t *handle, const char *path) argument
920 cgi_temp_dir_get(apreq_handle_t *handle, const char **path) argument
/httpd/modules/proxy/balancers/
H A Dmod_lbmethod_heartbeat.c42 * path: path of the file where the heartbeat information is stored.
46 const char *path; member in struct:lb_hb_ctx_t
92 static apr_status_t readfile_heartbeats(const char *path, apr_hash_t *servers, argument
99 if (!path) {
103 rv = apr_file_open(&fp, path, APR_READ|APR_BINARY|APR_BUFFERED,
245 static apr_status_t read_heartbeats(const char *path, apr_hash_t *servers, argument
255 rv = readfile_heartbeats(path, servers, pool);
289 rv = read_heartbeats(ctx->path, servers, tpool);
294 ctx->path);
433 cmd_lb_hb_storage(cmd_parms *cmd, void *dconf, const char *path) argument
[all...]
/httpd/modules/cluster/
H A Dmod_heartmonitor.c236 char *path = apr_pstrcat(pool, ctx->storage_path, ".tmp.XXXXXX", NULL); local
240 rv = apr_file_mktemp(&fp, path, APR_CREATE | APR_WRITE, pool);
244 "Unable to open tmp file: %s", path);
354 "Unable to flush file: %s", path);
361 "Unable to close file: %s", path);
365 rv = apr_file_perms_set(path,
371 path);
375 rv = apr_file_rename(path, ctx->storage_path, pool);
379 "Unable to move file: %s -> %s", path,
401 char *path local
806 cmd_hm_storage(cmd_parms *cmd, void *dconf, const char *path) argument
[all...]
/httpd/support/
H A Drotatelogs.c143 " -L path Create hard link from current log to specified path.\n"
443 char *path = apr_pstrmemdup(newlog.pool, newlog.name, ptr - newlog.name); local
445 fprintf(stderr, "Creating directory tree %s\n", path);
447 rv = apr_dir_make_recursive(path, APR_FPROT_OS_DEFAULT, newlog.pool);
451 path, &rv);
H A Dhtcacheclean.c106 static int baselen; /* string length of the path to the proxy directory */
179 static void printstats(char *path, struct stats *s) argument
213 apr_file_printf(errfile, "Cleaned %s. Statistics:" APR_EOL_STR, path);
266 static void delete_parent(const char *path, const char *basename, argument
286 nextpath = apr_pstrcat(p, path, "/", name, NULL);
293 nextpath = apr_pstrcat(p, path, "/", apr_pstrndup(p, name, vary
322 static void delete_file(char *path, char *basename, apr_off_t *nodes, argument
330 nextpath = apr_pstrcat(p, path, "/", basename, NULL);
351 delete_parent(path, basename, nodes, pool);
358 static void delete_entry(char *path, cha argument
406 list_urls(char *path, apr_pool_t *pool, apr_off_t round) argument
595 process_dir(char *path, apr_pool_t *pool, apr_off_t *nodes) argument
964 purge(char *path, apr_pool_t *pool, apr_off_t max, apr_off_t inodes, apr_off_t nodes, apr_off_t round) argument
1387 char *proxypath, *path, *pidfilename; local
[all...]
/httpd/modules/generators/
H A Dmod_autoindex.c198 const char *path, const char *data)
205 if (!path) {
206 path = "";
211 p->apply_path = apr_pstrcat(arr->pool, path, "*", NULL);
239 cmd->path, alt);
271 cmd->path, iconbak);
323 push_item(((autoindex_config_rec *) d)->ign_list, 0, ext, cmd->path, NULL);
760 char *path, apr_array_header_t *list, int path_only)
769 if ((path[0] == '^') || (!ap_strcmp_match(path,
197 push_item(apr_array_header_t *arr, char *type, const char *to, const char *path, const char *data) argument
759 find_item(const char *content_type, const char *content_encoding, char *path, apr_array_header_t *list, int path_only) argument
869 ignore_entry(autoindex_config_rec *d, char *path) argument
[all...]

Completed in 54 milliseconds

12