### Eclipse Workspace Patch 1.0 #P dev Index: site_login/index.php =================================================================== RCS file: /cvsroot/org.eclipse/dev/site_login/index.php,v retrieving revision 1.30 diff -u -r1.30 index.php --- site_login/index.php 15 Jul 2009 14:59:35 -0000 1.30 +++ site_login/index.php 15 Jul 2009 15:56:31 -0000 @@ -61,7 +61,17 @@ setcookie("TAKEMEBACK", $takemeback, 0, "/", ".eclipse.org"); } + + # Redirect + if(strtoupper($_SERVER['SERVER_PROTOCOL']) == "HTTP/1.0") { + # Do nothing -- the location header will send a 302 redirect + } + else { + header("HTTP/1.1 303 See Other"); + } + header("Location: http://www.eclipse.org/friends/welcomeback.php"); + echo "Moved

30x Moved

This page has moved here"; exit; } else {