git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
public_html/cgi-bin/redirect.php
@@ -0,0
+1,4
@@
+<?php
+ header("HTTP/1.0 301 Moved Permanently");
+ header("Location: ".$HTTP_SERVER_VARS["QUERY_STRING"]);
+?>