Add index.php
This commit is contained in:
@ -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();
|
|
18
www/index.php
Normal file
18
www/index.php
Normal file
@ -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");
|
||||||
|
}
|
Reference in New Issue
Block a user