Hey everyone. I am running Redhat 8 and am having problems with authentication. I am new to the Linux thing so please bear with me. I need to authenticate a link on a site and am having problems with it. I have dropped the link into a new directory on the machine inside of the serving directory (/var/www/html/ and file is in /var/www/html/level3/). I have the .htaccess file setup like so:
AuthType Basic
AuthName "Level 3 Tech Support Only"
AuthUserFile /var/www/passwdl3
require user level3
The only line I changed in the httpd.conf file is the AllowOverride line from:
AllowOverride None
to
AllowOverride AuthConfig
The site loads and when the link is clicked on I am able to get the login screen. My problem is that when I input the username and password it doesn't go. It gives me a 401 error saying that Authentication is Required. I have created the passwdl3 file with htpasswd and it is in that location. The user is in the list and the password I use still gives me a 401. I am using Redhat 8 with Apache 2.0.40. Yes I know it is out of date but it works for what I need it to do for now. Anyone have any ideas??? I have been trying to figure it out for 2 weeks now. Any advice would be appreciated
Thanks,
AgentRn007