Lines Matching defs:directory
345 char *directory; /* the directory where it applies */
1801 ? conf->baseurl : conf->directory,
1879 path = apr_pstrcat(r->pool, conf->directory, path,
2868 a->directory = NULL;
2873 a->directory = apr_pstrdup(p, path);
2876 a->directory = apr_pstrcat(p, path, "/", NULL);
2905 a->directory = overrides->directory;
2939 /* server command? set both global scope and base directory scope */
2946 /* directory command? set directory scope only */
3003 /* server command? set both global scope and base directory scope */
3015 /* directory command? set directory scope only */
3016 else { /* is per-directory command */
3180 return "RewriteBase: only valid in per-directory config files";
3298 else { /* is per-directory command */
3724 else { /* is per-directory command */
3786 else { /* is per-directory command */
4184 /* Add the previously stripped per-directory location prefix, unless
4206 * necessary, since it occurs later. If in directory context,
4778 * because we only do stat() on the first directory
4812 * [RewriteRules in directory context]
4837 * for this directory, else return immediately!
4845 if (dconf->directory == NULL) {
4856 * .htaccess file is called before really entering the directory, i.e.:
4857 * URL: http://localhost/foo and .htaccess is located in foo directory
4862 l = strlen(dconf->directory) - 1;
4864 (dconf->directory)[l] == '/' &&
4865 !strncmp(r->filename, dconf->directory, l)) {
4873 rewritelog((r, 8, dconf->directory, "Declining, no further rewriting due to END flag"));
4886 "due to its similar ability to circumvent directory restrictions : "
4903 rewritelog((r, 2, dconf->directory, "init rewrite engine with"
4910 rulestatus = apply_rewrite_list(r, dconf->rewriterules, dconf->directory);
4942 rewritelog((r, 1, dconf->directory, "go-ahead with proxy request "
4950 * first try to replace the directory with its base-URL
4958 rewritelog((r, 2, dconf->directory,
4960 dconf->directory, dconf->baseurl));
4970 * may be prefixed by the current directory path and
4984 cp2 = subst_prefix_path(r, cp, (*dconf->directory == '/')
4985 ? dconf->directory + 1
4986 : dconf->directory,
4998 rewritelog((r, 1, dconf->directory, "escaping %s for redirect",
5015 rewritelog((r, 1, dconf->directory, "%s %s to query string for redirect %s",
5032 rewritelog((r, 1, dconf->directory, "redirect to %s [REDIRECT/%d]",
5066 rewritelog((r, 1, dconf->directory, "initial URL equal rewritten"
5080 rewritelog((r, 2, dconf->directory, "trying to replace prefix "
5081 "%s with %s", dconf->directory, dconf->baseurl));
5084 dconf->directory,
5089 * that the directory prefix is also a valid URL
5101 rewritelog((r, 2,dconf->directory, "strip document_root"
5110 /* No base URL, or r->filename wasn't still under dconf->directory
5122 rewritelog((r, 2, dconf->directory, "trying to replace "
5132 rewritelog((r, 1, dconf->directory, "internal redirect with %s "
5140 rewritelog((r, 1, dconf->directory, "pass through %s", r->filename));
5214 "the base URL of the per-directory context"),