Go here and look at Chapter 6:
http://www.redhat.com/support/docs/faqs/RH-apache-FAQ/book1.html
On Wed, 20 Sep 2000, Jonathan Wilson spewed into the bitstream:
JW>I happen to be dealing with exactly the same thing, and it's not working very well.
JW>Setting up the passwd file went fine, but I have a feeling the .htaccess file is
messed up.
JW>
JW>BTW on redhat there's no man page for htaccess
JW>
JW>What should the permissions/ownership be on a .htaccess file?
JW>
JW>Also, does the following look ok?
JW>
JW><Directory /Webhomes/Vanguard_mailer>
JW> <Files *>
JW> AuthName "Test"
JW> AuthType Basic
JW> AuthUserFile /work/vanguard.htpasswd
JW> Require valid-user
JW> </Files>
JW></Directory>
JW>
JW>Can an asterisk be used in <Files> like that?
JW>
JW> JW
JW>
JW>At 01:06 AM 9/21/2000 +1100, you wrote:
JW>
JW>>You have to setup .htaccess in httpd.conf
JW>>Then in your directory eg /home/httpd/html/someclient/.htaccess
JW>>chmod 666 .htaccess
JW>>
JW>>do a man on htpasswd or htaccess
JW>>
JW>>to find out
JW>>what to put into .htaccess I
JW>>
JW>>On Wed, 20 Sep 2000, Andrew So Hing-pong wrote:
JW>>> As I know, after setting the apache, the users can reach his own
JW>>> directory, as http://domain.com/~user. Now I can do that.
JW>>> But I see some web sites has this settings. When typing
JW>>> "http://domain.com/~user", then prompt me for username and password
JW>>> , if both are corrent, then let me in, otherwise, refuse the
JW>>> connection. Any entry can be added on httpd.conf ?/?
JW>>> Is it possible ? I think it seems to be any stuffs about AuthUser..
JW>>> ...
JW>>>
JW>>> Thanks
JW>>>
JW>>> #####################################################################
JW>>> # Andrew H.P. So, Software Developer #
JW>>> # First Ecommerce Limited, http://www.firstecom.com #
JW>>> # 8/F, Henley Building, 5 Queen's Road Central, Hong Kong #
JW>>> # [EMAIL PROTECTED] Tel:(852)2289-9542 Fax:(852)2801-5939 #
JW>>> #####################################################################
JW>>>
JW>>>
JW>>>
JW>>> _______________________________________________
JW>>> Redhat-list mailing list
JW>>> [EMAIL PROTECTED]
JW>>> https://listman.redhat.com/mailman/listinfo/redhat-list
JW>>
JW>>
JW>>
JW>>_______________________________________________
JW>>Redhat-list mailing list
JW>>[EMAIL PROTECTED]
JW>>https://listman.redhat.com/mailman/listinfo/redhat-list
JW>
JW>
JW>
JW>_______________________________________________
JW>Redhat-list mailing list
JW>[EMAIL PROTECTED]
JW>https://listman.redhat.com/mailman/listinfo/redhat-list
JW>
--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list