Lines Matching defs:redir
1460 char dir[MAXPATHLEN], redir[MAXPATHLEN], redirpath[MAXPATHLEN + 1],
1467 * use it as the directory to look for the redir file.
1494 if ((size_t)snprintf(redir, sizeof(redir), "%s/%s", path,
1495 REDIRECT_FILE) >= sizeof(redir)) {
1499 if (lstat(redir, &sb) == 0) {
1504 if ((size_t)snprintf(redir, sizeof(redir), "%s/%s", path,
1505 ABSREDIRECT_FILE) >= sizeof(redir)) {
1510 if (lstat(redir, &sb) < 0 || !S_ISLNK(sb.st_mode))
1515 rv = readlink(redir, redirpath, sizeof redirpath - 1);
1530 if ((size_t)snprintf(finalredir = redir, sizeof(redir), "%s%s/%s",
1531 (strlen(dir) > 0 ? "/" : ""), dir, redirpath) >= sizeof(redir)) {
1539 debug((httpd, DEBUG_FAT, "check_bzredirect: new redir %s", finalredir));