detect with web/index.php