View Full Version : .htaccess problam

05-04-2005, 02:17 PM
plz help i have a problame with setting up my site to password protet pages using .htaccess. i am using linux and apache. i have a .htpasswd file outside the website directory and the .htaccess in a file i would like to protect but it does nothing???? :(

.htaccess code =

AuthUserFile /var/www/.htpasswd
AuthGroupFile /dev/null
AuthName membersarea
AuthType Basic

Require valid-user

plz help :confused:

Velox Letum
05-04-2005, 06:38 PM
Require valid-user should be:

<Limit GET POST>
require valid-user

05-12-2005, 07:12 PM
thank you, found that i had not allowed "allow overide" set to all. so it works fine now but thx for the help :D