I believe, but dont quote me, it needs to be in a <Directory> directive.
It would be a seperaite directive from the <VirtualHost> directive.
<Directory /path/to/directory/to/protect>
AllowOverride AuthConfig
</Directory>
Kirk
>At 12:03 PM 9/20/00 -0500, you wrote:
>No, I don't have anything like that (I thought Apache automatically looked
for .htaccess files?)
>
>Does that need to go inside the <Virtual Host> directive for each Virtual
site?
>
>I'll assume so unless you repost.
>
>
>At 09:44 AM 9/20/2000 -0700, you wrote:
>>You need to tell apache to use the .htaccess file. Do you have an apache
>>directive somewhere similar to this?
>>
>><Directory /path/to/directory>
>> AllowOverride AuthConfig <---this tells apache to use the
>>htaccess file
>></Directory>
>>
>>
>>>At 11:27 AM 9/20/00 -0500, you wrote:
>>>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
>>>
>
>
>
>_______________________________________________
>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