Add disclo.gs homepage
[disclosr.git] / documents / redirect.php
blob:a/documents/redirect.php -> blob:b/documents/redirect.php
  <?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();
  ?>