RE: Altering httpd.conf file for authentication

From: Leif Sawyer <lsawyer@gci.com>
Date: Fri Jul 28 2006 - 09:15:53 AKDT

Tony wrote:
> I am trying to set up a basic authentication login for entry
> to a website using Apache. Part of the httpd.conf file in the
> Directory section reads like
> this:
>
> <Directory "/var/www/icons">
> Options Indexes MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> <Directory "/var/www/html/index_files">
> AllowOverride AuthConfig
> AuthName "index_files"
> AuthType Basic
> require valid-user
> AuthUserFile /var/www/html/index_files/.htaccess
                                         ^^^^^^^^^^
> As you can see I created a directory called "index_files" and
> it has "index.html" in it. So I put the AuthName as
> "index_files" and I created a .htaccess file (htpasswd -c
> /var/www/html/index_files/.htpacess) and also placed it in
                           ^^^^^^^^^^^^

Check names.

-- Binary/unsupported file stripped by Ecartis --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Jul 28 09:16:06 2006

This archive was generated by hypermail 2.1.8 : Fri Jul 28 2006 - 09:16:06 AKDT