protected function chopIndex($uri)
    {
        $subStr = strtolower(substr($uri,0, 10));
        if ("/index.php" == $subStr) {
            return (strlen($uri) > 10 ? substr($uri, 10) : '');
        }

        return $uri;
    }