| |||||
Installation:
Extract the package:
tar zxvf HTAdmin1.x.tar.gz (for tar.gz)
tar yxvf HTAdmin1.x.tar.bz2 (for tar.bz2)
zip -d HTAdmin1.x.zip (for zip)
Edit the following lines in config.inc.php file:
$cfgUserAuth = true;
$cfgSuperUser = 'admin';
$cfgSuperPass = 'password';
$cfgHTPasswd[0][N] = '/htdocs/example/.htpasswd'; <-- First file's full path and name
$cfgHTPasswd[0][D] = 'Sample htpasswd file'; <-- First file's description
$cfgHTPasswd[1][N] = ''; <-- Second file's full path and name
$cfgHTPasswd[2][D] = ''; <-- Second file's description
...
Change the .htpasswd files' mode to 666 (chmod 666 .htpasswd)

Via: HTAdmin 1.2.6






0 Comment:
Post a Comment