summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/404.php3
-rw-r--r--www/index.php4
2 files changed, 7 insertions, 0 deletions
diff --git a/www/404.php b/www/404.php
new file mode 100644
index 00000000..b9e5ed58
--- /dev/null
+++ b/www/404.php
@@ -0,0 +1,3 @@
+<?PHP
+header("Location: https://".$_SERVER['HTTP_HOST'].$_SERVER['REDIRECT_URL']);
+?>
diff --git a/www/index.php b/www/index.php
new file mode 100644
index 00000000..2e218040
--- /dev/null
+++ b/www/index.php
@@ -0,0 +1,4 @@
+<?PHP
+header("Location: https://".$_SERVER['HTTP_HOST']."/");
+?>
+