Hi All
I'm having problems setting authentication on any, repeat, any apache web
server. Following the book I have and viewing the apache website I have created
the the following .htaccess file and placed it in the directory concerned.
AuthType Basic
AuthName "221 Monitor"
AuthUserFile /usr/local/httpd/valid/.htpasswd
AuthGroupFile /dev/null
Require user bill
I have also created the corresponding .htpasswd file in the path shown above
containing the user bill and corresponding encrypted password.
Starting from loading a web browser and trying the URL, it allows me to obtain
the page without any authentication. Placing the above section of text in the
/etc/httpd/httpd.conf file, enclosed between
You also need AllowOverride AuthConfig in the samae <directory> section of your httpd.conf file. Cheers -- Phil Driscoll
participants (2)
-
Bill Antonia
-
Phil Driscoll