View Single Post
Old 06-06-2016, 04:58 AM   #1270
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 726
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
Quote:
Originally Posted by Azazael View Post
...How can I make password acces?
I created .htpasswd and edited htaccess but not work.
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");
mariosipad is offline   Reply With Quote