Lines Matching refs:status
236 int status = (int) (long) cmd->info;
245 * Redirect status. Now if we have 3 args, we expect that
250 status = HTTP_MOVED_PERMANENTLY;
252 status = HTTP_MOVED_TEMPORARILY;
254 status = HTTP_SEE_OTHER;
256 status = HTTP_GONE;
258 status = atoi(arg1);
271 * with a status like "GONE".
273 if (grokarg1 && arg2 && !arg3 && HTTP_GONE != status) {
285 dirconf->redirect_status = status;
291 else if (grokarg1 && !arg2 && HTTP_GONE == status) {
293 dirconf->redirect_status = status;
311 dirconf->redirect_status = status;
335 if (ap_is_HTTP_REDIRECT(status)) {
346 return "Redirect URL not valid for this status";
357 new->redir_status = status;
389 "an optional status, then document to be redirected and "
397 "an optional status, then a regular expression and "
480 static char *try_redirect(request_rec *r, int *status)
513 *status = dirconf->redirect_status;
522 int is_redir, int *status)
599 *status = alias->redir_status;
614 int status;
620 if ((ret = try_redirect(r, &status)) != NULL
621 || (ret = try_alias_list(r, serverconf->redirects, 1, &status))
625 if (ap_is_HTTP_REDIRECT(status)) {
636 status = HTTP_INTERNAL_SERVER_ERROR;
652 return status;
656 || (ret = try_alias_list(r, serverconf->aliases, 0, &status))
671 int status;
675 if ((ret = try_redirect(r, &status)) != NULL
676 || (ret = try_alias_list(r, dirconf->redirects, 1, &status))
680 if (ap_is_HTTP_REDIRECT(status)) {
691 status = HTTP_INTERNAL_SERVER_ERROR;
707 return status;