$sitename="WaterFilterDude"; function qme($str1) { extract($GLOBALS); if (!isset($str1)) { $qme=$str1; } else { $tmpstring=str_replace("'","''",$str1); $tmpstring=str_replace("\"","''''",$tmpstring); $tmpstring=str_replace("--",":",$tmpstring); $qme=$tmpstring; } return $qme; } function Trunc($testStr,$maxlen) { extract($GLOBALS); $Trunc=substr($testStr,0,$maxlen); return $Trunc; } $sQuery=""; if ( strlen($REDIRECT_QUERY_STRING) > 0 ) { $sQuery = "?".$REDIRECT_QUERY_STRING; $sQuery = str_replace("DocID=","docid=",$sQuery); } // if there are upper case letters in the name, then change it to lower case and redirect there. if( $REDIRECT_URL != strtolower($REDIRECT_URL) ) { $sURL = strtolower($REDIRECT_URL).$sQuery; header("Cache-Control: no-cache, must-revalidate"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("HTTP/1.1 200 OK"); header("Status: 200 OK"); header("Location: http://".$_SERVER['HTTP_HOST'].$sURL); exit; } else { $sRefer=$_SERVER["HTTP_REFERER"]; $sRefer=str_replace("http://www.".$sitename.".com/","",$sRefer); $sQuery=str_replace("404;http://www.".$sitename.".com/","4",$sQuery); $sURL=$REDIRECT_URL; $sURL=str_replace("404;http://www.".$sitename.".com/","4",$sURL); header("Cache-Control: no-cache, must-revalidate"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); ?>
The file you asked for at address: echo $sURL.$sQuery; ?> was not found.
If you typed in a URL address, please check the URL to ensure that the path is correct.