apache2 authentication errors
Hi, I am having some trouble getting some basic authentication working in apache2.
I have a directory i want to protect with a username and password so have put the following into my httpd.conf in the <Directory "/blah/blah/blah"> section
AuthName "login needed"
This setup worked fine with apache1.
I have also tried using a .htaccess file and i have the same problem.
What is actually happening is this. Without any kind of authentication at all, the site works fine and i get a directory listing. When i have this authentication, i get this error message
You don't have permission to access / on this server.
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 Server at vhost.domain.tld Port 80
This site is running as a virtual host.
I have checked my error logs and this is what they say
[Sun Sep 21 07:10:40 2008] [error] [client ip.ip.ip.ip] client denied by server configuration: /blah/blah/blah/
which doesn't really tell me anything i don't already know
I have spent alot of time trying to figure this one out...
can someone help ??