Quote:
Originally Posted by mariosipad
What exactly did you change in .htaccess in the cops directory?
How and where (path) did you create .htpasswd and with what rights?
If it does not work then you could try a setting in config_local.php:
Code:
/*
* Enable PHP password protection (You can use if htpasswd is not possible for you)
* If possible prefer htpasswd !
* array( "username" => "xxx", "password" => "secret") : Enable PHP password protection
* NULL : Disable PHP password protection (You can still use htpasswd)
*/
$config['cops_basic_authentication'] = NULL;
change last line to (for example):
Code:
$config['cops_basic_authentication'] = array("username" => "Azazael", "password" => "s3cr3t");
|
Thank you for your response
I used this tool
http://www.htaccesstools.com/htpasswd-generator/
File path : /i-data/38e0c4cc/.system/zy-pkgs/gui/CalibreCOPS/.htpasswd
File permissions : -rwxr-xr-x 1 admin everyone
No changes in .htaccess I thought config file.
Worked if I will add this code: $config['cops_basic_authentication'] = array("username" => "Azazael", "password" => "s3cr3t");
If I will add this code: $config['cops_basic_authentication'] = NULL; not worked, only blank page.