Page 1 of 1

.htaccess not working

Posted: Wed Nov 27, 2019 2:59 pm
by uncledirt
I think this should be very simple, but I can't seem to authenticate. The browser just redisplays the login prompt.

Here's my setup
/home/u/uncledirt/public_html/reviled.us/upload/.htaccess:

Code: Select all

AuthUserFile /home/u/uncledirt/public_html/reviled.us/.htpasswd
AuthGroupFile /dev/null
Authtype Basic
AuthName Secure
<limit GET>
require valid-user
</limit>
[uncledirt@sh ~/public_html/reviled.us/upload]
$ ls -la .ht*
-rw-r--r--. 1 uncledirt user 159 Nov 27 14:52 .htaccess
-rw-r--r--. 1 uncledirt user 43 Nov 27 14:26 .htpasswd


Are there access and error logs anwhere?


I also tried this:
AuthUserFile .htpasswd
AuthName Secure
AuthType Basic
require valid-user