Simple redirection by $QUERY_STRING
[nethome.git] / public_html / cgi-bin / redirect.php
diff --git a/public_html/cgi-bin/redirect.php b/public_html/cgi-bin/redirect.php
new file mode 100644 (file)
index 0000000..ebfb30b
--- /dev/null
@@ -0,0 +1,4 @@
+<?php
+       header("HTTP/1.0 301 Moved Permanently");
+       header("Location: ".$HTTP_SERVER_VARS["QUERY_STRING"]);
+?>