User Authentication with Apache 1.0.3 (soon 1.1.1)

User Authentication with Apache 1.0.3 (soon 1.1.1)

Post by Costas Vlass » Sun, 04 Aug 1996 04:00:00



        Well today I tried to make a directory of my WWW/Apache server
(running on Linux 2.0.8) accessible only by validated users...

        As I understood by reading through the book "Running A Perfect
Web Site With Apache" I had to make an .htaccess file to that directory...

<Directory /home/httpd/html/non-public>
AuthName Protected
AuthType basic
AuthUserFile /etc/apache-paswd
<Limit GET POST>
require valid user lonewolf
</Limit>
</Directory>

        All I got is "Server Error" and in the error.log "[Sat Aug  3
12:33:41 1996] access to /home/httpd/html/non-public/.htaccess failed for
 wolfnest.linux-net.gr, reason: <Directory not allowed here

        Any help appreciated on HOE to do it or point me to a HOWTO or
Documentation (not in PS please)

        Costas Vlassis