RedHat 6.2 Apache .htaccess is not being recognized?

wezal

Member
Aug 25, 2000
91
0
0
I am running into a problem where my .htaccess is not being recognized when I try to use it for password protection. When I go to a web page within a directory, it does not prompt me for a password, even though I have set up an .htaccess file in the same directory, which points to a .htpasswd file. Any ideas?

Here is my .htaccess file for ref.

AuthUserFile /usr/noaccess/.htpasswd
AuthGroupFile /dev/null
AuthName MySecretStuff
AuthType Basic

require user yourmoma
 

wezal

Member
Aug 25, 2000
91
0
0
No? Maybe that is what I am missing. The only thing I know about are the httpd.conf, access.conf, .htpasswd and .htaccess files. But I only know how to configure the last two, not the first two. Do you have a sample access.conf and httpd.conf file that I can use for reference?