On Wed, May 07, 2008 at 07:26:25AM -0700, Ed Flecko wrote:
> Thanks, Adam.
> 
> To test even "Basic" authentication, I created a file named
> "passwords" in the htdocs directory to confirm that Apache could reach
> it. :-)
> 
> Then I made this entry in the httpd.conf file:
> 
> <Directory /download>
> AuthType Basic
> AuthName "Private"
> AuthUserFile /var/www/htdocs/passwords
> Require user stephanie
> </Directory>
> 
> Unfortunately, all I get is an "Internet Explorer cannot display the
> webpage" error message. I don't get any dialog box to sign in.
> 
> I'm stumped.
> 
> Suggestions?

I should probably know, but I don't. You may want to look at
/var/www/logs/error_log, though. That should at least verify that your
configuration works, and is likely to contain a helpful error message.

Also, I am not sure if you ever explicitly stated that this works
without authentication? If that is the case, you may have a permission
issues. (Note that Apache runs as www, and has its own permission system
on top of that - see Allow and Deny.)

                Joachim

-- 
PotD: x11/mterm - dockable program launcher

Reply via email to