Apache/2.0.40(Red Hat Linux)
I am trying to enable basic authentication on my own test jig. At this point security is not a issue, I am just trying to understand the process. My .htaccess and password files are located in /var/ I can not see the .htaccess file with the ls command. Is it hidden? I have created both of these files using tutorials found at apache.org. My .htaccess looks like this.
AuthType Basic
AuthName "New Restricted Files"
AuthUserFile /var/Require user test
I know that I am accessing this .htaccess file because I can change the AuthName stmnt and see the change reflected in my next login attempt. I have tried creating new Directorys with new .htaccess and password files but with no success. Are there changes that need to be made to the httpd.conf? Any help would be greatly appreciated.
Thanks,
bubba20lb
I am trying to enable basic authentication on my own test jig. At this point security is not a issue, I am just trying to understand the process. My .htaccess and password files are located in /var/ I can not see the .htaccess file with the ls command. Is it hidden? I have created both of these files using tutorials found at apache.org. My .htaccess looks like this.
AuthType Basic
AuthName "New Restricted Files"
AuthUserFile /var/Require user test
I know that I am accessing this .htaccess file because I can change the AuthName stmnt and see the change reflected in my next login attempt. I have tried creating new Directorys with new .htaccess and password files but with no success. Are there changes that need to be made to the httpd.conf? Any help would be greatly appreciated.
Thanks,
bubba20lb