Re: How do I use digest authentication to allow/deny directory access

2008-05-07 Thread Ed Flecko
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

Re: How do I use digest authentication to allow/deny directory access

2008-05-07 Thread Joachim Schipper
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

How do I use digest authentication to allow/deny directory access

2008-05-06 Thread Ed Flecko
Hi folks, I'm trying to use digest authentication and require a visitor to supply a password in order to be able to access a certain subdirectory. Here's my scenario: I have a directory called download which is located at: /var/www/htdocs/stephanie/download. I've created a file called digest

Re: How do I use digest authentication to allow/deny directory access

2008-05-06 Thread Adam Patterson
Ed Flecko wrote: ...snip... Directory /stephanie/download AuthType Digest AuthName Pssst...what's the password? AuthUserFile /var/www/conf/digest Require user guest /Directory Ed If you are still chrooted you need to make sure thats the right directory. If you disabled the chroot then

Re: How do I use digest authentication to allow/deny directory access

2008-05-06 Thread Ed Flecko
Thanks, Adam Yeah, I'm still chrooted. Also, I forgot to mention before that I've tried both modules: LoadModule digest_auth_module /usr/lib/apache/modules/mod_auth_digest.so LoadModule digest_module /usr/lib/apache/modules/mod_digest.so and neither seems to work. In fact, if I enable

Re: How do I use digest authentication to allow/deny directory access

2008-05-06 Thread Ed Flecko
It seems like, from what I see on the web, that I should be using: AuthDigestFile instead of AuthUserFile however when I do that, save the httpd.conf and restart Apache, I get the following error message: Syntax error on line 61 of /var/www/conf/httpd.conf: Invalid command 'AuthDigestFile',

Re: How do I use digest authentication to allow/deny directory access

2008-05-06 Thread Adam Patterson
Ed Flecko wrote: It seems like, from what I see on the web, that I should be using: AuthDigestFile instead of AuthUserFile however when I do that, save the httpd.conf and restart Apache, I get the following error message: Syntax error on line 61 of /var/www/conf/httpd.conf: Invalid command