View Single Post
Old 05-26-2017, 05:25 PM   #1575
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by mariosipad View Post
Or comment out (remove #) all but AuthGroupFile.

That's essentially the same test that @Calibius proposed.
@Calibius
@Mariosipad

No, that did not work...BUT, this did!
Code:
#<FilesMatch "\.php$">
<FilesMatch "(index|feed)\.php">
AuthUserFile /share/Web/cops111/.htpasswd
#AuthGroupFile /dev/null
AuthName "COPS Security"
AuthType Basic
Require valid-user
</FilesMatch>
I had tried that alternate FilesMatch statement before, but not with the AuthGroupFile commented out. Combine the two and, gofigure, it works!

Now on to getting the per/user setups to work.

With both of you having it working, hopefully you can pound it into me on how to get mine to work!
MontyJ is offline   Reply With Quote