Simple redirection by $QUERY_STRING
authorshort <>
Wed, 1 Dec 2004 10:42:14 +0000 (10:42 +0000)
committershort <>
Wed, 1 Dec 2004 10:42:14 +0000 (10:42 +0000)
public_html/cgi-bin/redirect.php [new file with mode: 0644]

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"]);
+?>