|
| |
|
|
paul rayner
Posts: 211 Joined: 3/15/2001 From: yeppoon, qld, aus Status: offline
|
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?
_____________________________
" In theory, there is no difference between theory and practice. But, in practice, there is!"
|
|
|
|
Giomanach
Posts: 6129 Joined: 11/19/2003 From: England Status: offline
|
RE: Apache and authentication problems - 3/1/2005 12:44:24
Hi Paul My guess would be that the Admin password etc for localhost are not the same as the set that you're using to log in with.... Dan
_____________________________
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|