On Thursday 30 August 2001 1:14 pm, David Powell wrote:
At 11:12 AM 30/08/01, Simon Oliver wrote:
There is no point in having:
"Deny from all" and "Satisfy any" without an "Allow from ???? directive too - you might as well just have:
AuthType Basic AuthUserFile /usr/local/httpd/passwords/adminpass AuthName "Admin Tools" Require valid-user
OK. I've changed the .htaccess file to what you suggest.
But, I suspect your problem is permissions - check that the account the httpd daemon runs under has read access to '/usr/local/httpd/passwords/adminpass' by su-ing to that account and cat-ing the file.
I've tried su-ing to 'wwwrun' (I also tried su-ing to 'nobody' and a few others just to be sure) and cat-ing the file, which worked fine.
The thing that puzzles me is that everything works OK with the same settings under SuSE 6.4 (Apache 1.3.12), but it doesn't work under SuSE 7.2 (Apache 1.3.19).
Did you copy across your old httpd.conf or modify the one supplied? Maybe a change between versions? M