.htaccess not working

Web hosting discussion, programming, and shared and dedicated servers.
1 post Page 1 of 1
by uncledirt » Wed Nov 27, 2019 2:59 pm
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
1 post Page 1 of 1

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: No registered users and 3 guests