The lines on the bottom of the .htaccess file in the COPS directory should look like: (Remove the relevant
# at the beginning of the last 7 lines. )
Code:
###########################################
# Uncomment if you wish to protect access with a password
###########################################
# If your covers and books are not available as soon as you protect it
# You can try replacing the FilesMatch directive by this one
# <FilesMatch "(index|feed)\.php">
# If helps for Sony PRS-TX and Aldiko, beware fetch.php can be accessed
# with authentication (see $config ['cops_fetch_protect'] for a workaround).
###########################################
<FilesMatch "\.php$">
AuthUserFile /i-data/38e0c4cc/.system/zy-pkgs/gui/CalibreCOPS/.htpasswd
AuthGroupFile /dev/null
AuthName "Restricted Access"
AuthType Basic
Require valid-user
</FilesMatch>
If you use .htaccess do not use the setting in config_local.php (should be $config['cops_basic_authentication'] = NULL; ).
If you use the setting in config_local.php do not change the .htaccess file from what is was when installed. Also no .htpasswd needed.