I'm running a Truenas Core 12 server with the current release. I've been testing using COPS on it to handle my ebook collection and for the most part it seems to do what I want.
I have 2 questions (at least, only two at the moment

)
First, I installed COPS using the directions
here. I ran the command "git clone https://github.com/seblucas/cops.git" which installed what I assume is the latest version. My question is that when I look at the "about" screen, it shows version 1.2.0, but that github page says the most recent release is 1.1.3. Is the version I installed a beta test version, or an official release but the page wasn't updated?
The second question regards authenticated logins. I've seen multiple posts here and other sites suggesting the use of the .htaccess and .htpasswd files. I've tried that, but no matter what I try I always login straight into the application.
The file is in directory /iocage/jails/cops/root/usr/local/www/cops and the relevent section is:
<FilesMatch "\.php$">
AuthUserFile /usr/local/www/cops/.htpasswd
# AuthGroupFile /dev/null
AuthName "Secure Access"
AuthType Basic
Require valid-user
</FilesMatch>
The .htpasswd has 2 users in it with the password hashed, so it looks correct. It's in the same directory, but I've tried it in different directories (and updated the path in htaccess each time) with the same results.
When I try using the "$config['cops_basic_authentication'] = array('username' => 'user', 'password' => 'mypwd');" setting in the config file, I'm prompted for the user and password correctly. But I can't get the htaccess approach to work.
I'm obviously doing something wrong, but right now I don't see it. I'm hoping another set of eyes and stronger mind can point me to where I'm screwing up.
I should add that I'm using apache24.
Thanks