access: Move /access to access.elwig.at
This commit is contained in:
@ -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");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user