Web Servers General Talk - Trying to learn access control in Apache (ADVX). Basic Authentication not working....

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > January 2004 > Trying to learn access control in Apache (ADVX). Basic Authentication not working....





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Trying to learn access control in Apache (ADVX). Basic Authentication not working....
David Hostetler

2004-01-19, 6:32 am

I have a Mandrake Linux 9.0 server (fully patched thank you very
much), that I want to limit access to a particular directory that has
personal files I need to access from work periodically. (Pics of my
dog, various technical notes and such). So I am trying to set up in
the .htaccess the following directives (in the folder
/var/www/html/private)

AuthType Basic
AuthName "Dog pics"
AuthUserFile /usr/local/apache/passwords
require user dave kim
Satisfy all
order deny,allow

(I found this on http://httpd.apache.org/docs/howto/...tml#basicconfig)

I DO have the users in the passwords file (verified with a quick cat
of the file). And the log in dialog box does come up, but for some
reason when I browse to http://192.168.1.225/private (not the real IP
but you get the idea) I get the password dialog box, but it never lets
me through when I give it my username and password as given to the
htpasswd. So what gives? How do I make this work?

TIA for any help you can give helping nudge along my education.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com