View Single Post
Old 05-22-2017, 10:31 AM   #1545
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
@mariosipad,

Thank You!

That post is getting lengthy, so continuing discussion in new post.

No joy. Just so there is no doubt, here is the EXACT config files, even down to the usernames and passwords.

File: config_local.php
Code:
<?php
    if (!isset($config))
        $config = array();

    $config['calibre_directory'] = array (
    "01 - Repository Information" => "/share/CACHEDEV1_DATA/Backups/Calibre_Libraries/01-Repository Information/",
    "02 - Fiction eBooks" => "/share/CACHEDEV1_DATA/Backups/Calibre_Libraries/02-Fiction/",
    "03 - NonFiction eBooks" => "/share/CACHEDEV1_DATA/Backups/Calibre_Libraries/03-NonFiction/",
    "04 - Science Fiction eBooks" => "/share/CACHEDEV1_DATA/Backups/Calibre_Libraries/04-Science Fiction/");
   
    /*
    * Catalog's title
    */
    $config['cops_title_default'] = "COPS 1.1.1";
   
    $config['cops_use_url_rewriting'] = "0";

    $config['default_timezone'] = "America/Phoenix";

    $config['cops_basic_authentication'] = array('username' => 'cops', 'password' => 'secretpw');
File: config_local.monty.php
Code:
<?php

    /*
    * Catalog's title
    */
    $config['cops_title_default'] = "MONTY COPS";
   
    $config['cops_basic_authentication'] = array('username' => 'monty', 'password' => 'mypwd');
File: config_local.user2.php
Code:
<?php
    if (!isset($config))
        $config = array();

    $config['calibre_directory'] = array (
    "01 - Repository Information" => "/share/CACHEDEV1_DATA/Backups/Calibre_Libraries/01-Repository Information/",
    "03 - NonFiction eBooks" => "/share/CACHEDEV1_DATA/Backups/Calibre_Libraries/03-NonFiction/");
   
    /*
    * Catalog's title
    */
    $config['cops_title_default'] = "USER2 COPS";

    $config['cops_basic_authentication'] = array('username' => 'user2', 'password' => 'user2pwd');
On all of these I do get the login form, but same results that it blinks and then clears. If I then hit the 'cancel' button, I get the message "This site is password protected".

Tried in Firefox and Chrome and Brave browsers. Cleared caches first. Tried all 3 logins exactly as shown in verbatim copies above.

Also tried removing the original .htaccess file from the /cops111 folder.

Used

192.168.x.xxx/cops111/

and

192.168.x.xxx:8164

with the same no joy results for both.

Frustrating...
MontyJ is offline   Reply With Quote