access: Move /access to access.elwig.at

This commit is contained in:
2025-05-03 12:10:17 +02:00
parent 4962218fe3
commit 223c959cd9
9 changed files with 53 additions and 950 deletions

View File

@ -30,6 +30,15 @@ switch ($_SERVER['PATH_INFO']) {
header("Status: 303");
header("Location: https://git.necronda.net/winzer/");
break;
case '/access':
header("Status: 303");
header("Location: https://access.elwig.at/");
break;
default:
header("Status: 404");
if (str_starts_with($_SERVER['PATH_INFO'], '/access/')) {
header("Status: 308");
header("Location: https://access.elwig.at/" . substr($_SERVER['PATH_INFO'], 8));
} else {
header("Status: 404");
}
}