]>
git.ipfire.org Git - ipfire.org.git/blob - www/index.pl
5 # Set language to german, else use english site
6 if ($ENV{'HTTP_ACCEPT_LANGUAGE'} =~ /^de(.*)/) {
10 print "Status: 302 Moved\n";
11 print "Pragma: no-cache\n";
13 if ($ENV{'SERVER_NAME'} eq "source.ipfire.org") {
14 print "Location: /$lang/source.shtml\n";
15 } elsif ($ENV{'SERVER_NAME'} eq "tracker.ipfire.org") {
16 print "Location: /$lang/tracker.shtml\n";
18 print "Location: http://www.ipfire.org/$lang/index.shtml\n";