HEX
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: u80650282 (6669564)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //kunden/lib/cgi-bin/config
#!/usr/bin/perl

# relocated ins configmenu fuer Schlundkunden
# https redirect eingefuehrt!

$host = $ENV{HTTP_HOST};
$host =~ s/^www\.//;
$host =~ s/:.*//;

$dbe=$ENV{DBENTRY} if defined ($ENV{DBENTRY});
$dbe=$ENV{REDIRECT_DBENTRY} if defined ($ENV{REDIRECT_DBENTRY});

$dbe =~ /#LANG (.) /;
$lang=$1;


%loc = ('3'=>'Location: https://admin.1and1.com/',
        '4'=>'Location: https://config.alturo.de/',
        '0'=>'Location: https://www.configtools.de/',
        '1'=>'Location: https://admin.oneandone.co.uk/',
        '2'=>'Location: https://admin.1and1.fr/');

$lang=0 unless defined $loc{$lang}; # bei neuen 'Sprachen' aufs schlundconfig gehen
print $loc{$lang}."\n\n";