---Begin .htacess---
AuthUserFile /usr/local/apache/conf/.htpasswd
AuthGroupFile /dev/null
AuthName Inside
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
---End .htacess---
The .htpasswd file is made using htpasswd program.
man htpasswd has more info.
explain of the fields are in the apache manual.
____________________________________________________________
Kervin Pierre, CCNA
I doubt, therefore I might be.
Time-honored truth #7
On Mon, 24 Apr 2000, Bogdan Taru wrote:
>
>
> Hello everyone,
>
> I want to put a password on a web dir, and I know this can be done with
> .htaccess. Well, I'm pretty sure I built the '.htaccess' file Ok, I've put
> it in the same directory with the 'index.html', I've added a password to
> 'htpasswd'. In spite of all this, Apache seems to ignore my '.htaccess'
> file. What things do I need to set up in the 'httpd.conf' file in order to
> make it work? Examples are welcomed!
>
> Thanks,
> bogdan
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs