root/LayoutTests/http/tests/w3c/webperf/resources/redirect.php

/* [<][>][^][v][top][bottom][index][help] */
<?php
  $code = ctype_digit($_GET["code"]) ? $_GET["code"] : "302";
  $location = $_GET["location"] ? $_GET["location"] : $_SERVER["SCRIPT_NAME"] . "?followed";

  header("HTTP/1.1 $code");
  header("Location: $location");
  exit;
?>

/* [<][>][^][v][top][bottom][index][help] */