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