diff --git a/www/changelog.php b/www/changelog.php deleted file mode 100644 index c7e9629..0000000 --- a/www/changelog.php +++ /dev/null @@ -1 +0,0 @@ -<?php header("Status: 303"); header("Location: https://git.necronda.net/winzer/elwig/src/branch/main/CHANGELOG.md"); header("Content-Length: 0"); exit(); diff --git a/www/index.php b/www/index.php new file mode 100644 index 0000000..e1e10a3 --- /dev/null +++ b/www/index.php @@ -0,0 +1,18 @@ +<?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"); +}