View Single Post
Old 07-05-2015, 06:07 AM   #1108
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 teejcee View Post
Problem resolved... I was misinterpreting the instructions for basic authentication syntax.
When I changed $config['cops_basic_authentication'] = array('username' => 'u
sername', 'password' => 'password') to include the actual pair ( as per instruction ) it worked...!!
My observations:

1 - $config['cops_basic_authentication'] works without setting/changing .htaccess

2 - if you leave (config_local.php) $config['cops_basic_authentication'] = NULL then for a username/password question to work you need to setup .htacces and make a "htpasswd" file. (probably the preferred way)

3 - I think you tried to do both at the same time Tthere is no need for that
mariosipad is offline   Reply With Quote