|
paul rayner -> Apache and authentication problems (2/23/2005 21:36:54)
|
Hi I'm running Apache 1.3.23 on Win Xp using localhost. I'm trying to learn authentication, but am stuffing it up somehow. I created a user using htpasswd - for now leaving it in the bin/users I then added the following to my httpd.conf file, restarted apache. <Directory "C:/Program Files/Apache Group/Apache/htdocs/test"> AuthName "restricted stuff" AuthType Basic AuthUserFile "C:/Program Files/Apache Group/Apache/bin/users" Require valid-user </Directory> In the "main" directory permissions - I changed it to: AllowOverride AUthConfig When I try to access the directory test, an authentication screen pops up, but doesn't allow me access. I get a 401 error. Apache has been working fine - handling php and sql - but I've obviously stuffed up something here. Can anyone please help?
|
|
|
|