blob: 04c6734ea5383fef7ca01bd2da00fab88ec093fe [file] [log] [blame]
<?php
if (!strlen($_SERVER["PHP_AUTH_USER"]) || !strlen($_SERVER["PHP_AUTH_PW"]))
{
header("WWW-Authenticate: Basic realm=\"WebKit Authentication Redirect 4\"");
header("HTTP/1.0 401 Unauthorized");
exit;
}
header("Location: http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-echo.php", true, 301);
exit;
?>