直接修改phpmyadmin的config.inc.php,把
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
改为
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?就可以启用phpmyadmin的HTTP认证了.
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
改为
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?就可以启用phpmyadmin的HTTP认证了.
我不是说对页面进行认证。我还想对WEB服务器下某些目录进行保护,就如何操作???