gource master
[disclosr.git] / documents / redirect.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
$subdomain = str_replace('disclo.gs', '', $_SERVER['SERVER_NAME']);
$script = $_SERVER['REQUEST_URI'];
 
if ($script == '/google676a414ad086cefb.html') {
    echo 'google-site-verification: google676a414ad086cefb.html';
    exit();
}
if ($script == '/googlebcce906c6b666bb8.html') {
    echo 'google-site-verification: googlebcce906c6b666bb8.html';
    exit();
}
 
header('HTTP/1.1 301 Moved Permanently');
header('Location: http://' . $subdomain . 'disclosurelo.gs' . $script);
exit();
?>