Give this in your httpd.conf or virtual hosts file
<Directory <directory you want to restrict> >
AuthType Basic
AuthName <some name>
AuthUserFile <location of htaccess file>
Require valid-user
AllowOverride AuthConfig
</Directory>
In the command line,
htpassword -mc /server/path/.passwdfile name <user name>
Regards,
Devi S.
-----Original Message-----
From: ilugc-bounces@xxxxxxxxxxxxx [mailto:ilugc-bounces@xxxxxxxxxxxxx] On
Behalf Of bala chandar
Sent: Thursday, May 05, 2005 7:12 PM
To: chennailug
Subject: [Ilugc] help on .htaccess
hi,
i want to give htaccess authentication. i created a website. how do i
do that. i tried but didnt work.
--
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
CONFIDENTIALITY NOTICE: This e-mail and its attachments may contain PRIVILEGED
and CONFIDENTIAL INFORMATION and/or PROTECTED PATIENT HEALTH INFORMATION
intended solely for the use of Tranquilmoney Inc. it's clients and the
recipient(s) named above. If you are not the intended recipient, or the
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any review, dissemination,
distribution, printing, or copying of this e-mail message and/or any
attachments is strictly prohibited. If you have received this transmission in
error, please notify the sender immediately and permanently delete this e-mail
[shred the document] and any attachments.