View Single Post
Old 12-10-2020, 07:41 AM   #1787
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
@Minstrelcda

I have (hopefully) 2 answers:

1 - Cops version
You use the latest github-version of COPS. The only difference between the latest "release" version in a zip and this version are some (3) minor corrections and additions. So go with the latest version.

NB: You were lucky you used the instructions (best I've seen) for installing COPS that you did, otherwise you would have run into some errors.

2 - Authentication
To use basic authentication in apache with .htaccess you need to change a setting in the apache2.conf (or httpd.conf) file (not COPS).
Search for:
Code:
<Directory /var/www/http>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>
and change None to All.

You can, for testing purposes only (!!!), put your .htpasswd file in the COPS directory and reference it with ./.htpasswd in .htaccess.
mariosipad is offline   Reply With Quote