]> git.ipfire.org Git - ipfire.org.git/commitdiff
Redirecting all subdomains to www.ipfire.org.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Jan 2009 17:30:50 +0000 (18:30 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Jan 2009 17:30:50 +0000 (18:30 +0100)
www/index.py

index 8463bfe775eb64beaf37fb4fe75a87065642c331..87044ed9c0384bf65bfbfd2e3f56fd78ed023c4a 100755 (executable)
@@ -7,9 +7,9 @@ import cgi
 sites = (
                        ("ipfire.org", ("www.ipfire.org", None)),
                        ("www.ipfire.org", (None, cgi.FieldStorage().getfirst("file") or "index")),
-                       ("source.ipfire.org", (None, "source.shtml")),
-                       ("tracker.ipfire.org", (None, "tracker.shtml")),
-                       ("download.ipfire.org", (None, "download.shtml")),
+                       ("source.ipfire.org", ("www.ipfire.org", "source")),
+                       ("tracker.ipfire.org", ("www.ipfire.org", "tracker")),
+                       ("download.ipfire.org", ("www.ipfire.org", "download")),
                )
 
 # Check language...