Files
elwig-www/www/index.php
2024-07-06 22:02:58 +02:00

19 lines
476 B
PHP

<?php
header("Content-Length: 0");
switch ($_SERVER['PATH_INFO']) {
case '/changelog':
header("Status: 303");
header("Location: https://git.necronda.net/winzer/elwig/src/branch/main/CHANGELOG.md");
break;
case '/vcs':
case '/git':
case '/src':
case '/source':
case '/code':
header("Status: 303");
header("Location: https://git.necronda.net/winzer/");
break;
default:
header("Status: 404");
}