Use slashes after the alias definitions. Don't use slashes in directory definitions...
Apache can be very picky and weird. E.g. that require definition must be "Require valid-user", with exactly that case! If you use "Require Valid-user", Apache requires a user named "Valid-user", not any valid user from authfile (and in your case, requires "vaild-user" as pointed out).
If working in linux or newer Windozes, be sure to make the files readable by Apache (including that AuthUserFile... been there, done that).
You should put "Order allow,deny" and "Allow from all" to your directory definition. This would allow all IPs to try logging in. (Not sure what the default is, but better to be safe than sorry...)
If you want to see the directory listing, put "Options Indexes" in the directory definition.
Here's what works for me in linux with digest authentication and SSL:
Alias /tools/ /var/www/tools/
<Directory /var/www/tools>
Options Multiviews Indexes
AllowOverride None
Order allow,deny
Allow from all
AuthType Digest
AuthName "Restricted"
AuthDigestFile /var/www/digests
Require valid-user
SSLRequireSSL
</Directory>
|