.htaccess problem

knasen

Registered
HELP!!

I created a folder where .htaccess are inside, together with a HTML file. When I execute the HTML file the password check should come up, but it doesn´t.
The path in .htaccess that should lead to .htpasswd are correct.
What could be wrong?

Here comes the .htaccess file. Please help me

AuthUserFile /usr/bin/.htpasswd
AuthGroupFile /dev/null
AuthType Basic
AuthName "knasen X server"

<LIMIT GET POST>
require valid-user
</LIMIT>
 

35hz

Registered
Be sure to enable htaccess to override permissions in apache. Also check out http://www.apache.org for more info.

Look for the line "AllowOverride" in your apache.conf file and set it to all. Currently it is probably at none. That should do it.

Ian
 

macboy73

Member
Originally posted by 35hz
Be sure to enable htaccess to override permissions in apache. Also check out http://www.apache.org for more info.

Look for the line "AllowOverride" in your apache.conf file and set it to all. Currently it is probably at none. That should do it.

Ian
I know this post is kind of old, but I'm having this same trouble; what does it mean to override access permissions. Is the the AuthUserFile?
 
Top