Searched refs:path (Results 1 - 25 of 62) sorted by relevance

123

/httpd/support/
H A Dlist_hooks.pl22 my $path=shift || '.';
24 findInDir($path);
40 my $path=shift;
43 opendir(D,$path) || croak "Can't open $path: $!";
46 my $file="$path/$f";
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/build/
H A Dinstall-bindist.sh.in25 path=""
33 path="${path}/$d"
34 if test ! -d "${path}" ; then
35 mkdir ${path}
37 echo "Failed to create directory: ${path}"
40 chmod ${mode} ${path}
64 ## determine path to (optional) Perl interpreter
68 path=`echo $PATH | sed -e 's/:/ /g'`
71 for dir in ${path} ; d
[all...]
/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/proxy/
H A Dmod_proxy_ftp.c138 * Escape the globbing characters in a path used as argument to
146 static const char *ftp_escape_globbingchars(apr_pool_t *p, const char *path, proxy_ftp_dir_conf *dconf) argument
152 return path;
155 ret = apr_palloc(p, 2*strlen(path)+sizeof(""));
156 for (d = ret; *path; ++path) {
157 if (strchr(FTP_GLOBBING_CHARS, *path) != NULL)
159 *d++ = *path;
166 * Check for globbing characters in a path used as argument to
171 static int ftp_check_globbingchars(const char *path) argument
291 char *user, *password, *host, *path, *parms, *strp, sport[7]; local
451 char *dir, *path, *reldir, *site, *str, *type; local
985 char *path, *strp, *type_suffix, *cwd = NULL; local
[all...]
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_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_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...]
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...]
/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/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/include/
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 Dapreq_cookie.h55 char *path; /**< Restricts url path */ member in struct:apreq_cookie_t
/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 Dcore.c1178 if (cmd->path != NULL) {
1597 * a msg and a (local) path.
2200 char *old_path = cmd->path;
2221 cmd->path = ap_getword_conf(cmd->pool, &arg);
2224 if (!strcmp(cmd->path, "~")) {
2225 cmd->path = ap_getword_conf(cmd->pool, &arg);
2226 if (!cmd->path)
2227 return "<Directory ~ > block must specify a path";
2228 r = ap_pregcomp(cmd->pool, cmd->path, AP_REG_EXTENDED|USE_ICASE);
2234 r = ap_pregcomp(cmd->pool, cmd->path, AP_REG_EXTENDE
4442 char *path; local
[all...]
H A Dapreq_cookie.c98 else if (!strncasecmp("path", attr, 4)) {
99 c->path = apr_pstrmemdup(p,val,vlen);
160 c->path = NULL;
461 ADD_NS_ATTR(path);
484 NULL2EMPTY(c->path), NULL2EMPTY(c->domain), expires);
504 ADD_RFC_ATTR(path);
523 NULL2EMPTY(c->path), NULL2EMPTY(c->domain),
H A Dconfig.c610 /* Some C compilers put a complete path into __FILE__, but we want
611 * only the filename (e.g. mod_includes.c). So check for path
1304 parms->path,
1515 const char *path; local
1518 path = ap_server_root_relative(cmd->pool, arg);
1520 if (!path) {
1521 return apr_pstrcat(cmd->pool, "Invalid file path ",
1525 *(const char **) ((char*)struct_ptr + offset) = path;
1844 char *path = apr_pstrdup(ptemp, fname); local
1849 "probably a recursion somewhere.", path,
1900 process_resource_config_fnmatch(server_rec *s, const char *path, const char *fname, ap_directive_t **conftree, apr_pool_t *p, apr_pool_t *ptemp, unsigned depth, int optional) argument
[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 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...]
/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/aaa/
H A Dmod_auth_digest.c1499 if (src->path && src->path[0] != '\0') {
1500 dst->path = apr_pstrdup(r->pool, src->path);
1501 ap_unescape_url(dst->path);
1504 dst->path = src->path;
1615 if (d_uri.path) {
1616 ap_unescape_url(d_uri.path);
1666 /* check that path matche
[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...]
/httpd/modules/ssl/
H A Dssl_ct_log_config.c138 || !uri.path) {
152 if (strcmp(uri.path, "/")) {
154 APLOGNO(02755) "Error in log url \"%s\": Only path "
156 lu, uri.path);
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,
/httpd/modules/mappers/
H A Dmod_rewrite.c427 static char *escape_backref(apr_pool_t *p, const char *path, const char *escapeme, int noplus);
494 * | URI and path functions
639 static char *escape_backref(apr_pool_t *p, const char *path, const char *escapeme, int noplus) { argument
640 char *copy = apr_palloc(p, 3 * strlen(path) + 3);
641 const unsigned char *s = (const unsigned char *)path;
682 * escape absolute uri, which may or may not be path oriented.
855 /* now check whether we could reduce it to a local path... */
895 * stat() only the first segment of a path
897 static int prefix_stat(const char *path, apr_pool_t *pool) argument
899 const char *curpath = path;
1842 const char *path; local
2505 char *path; local
2855 config_perdir_create(apr_pool_t *p, char *path) argument
[all...]

Completed in 302 milliseconds

123