You might try putting your directive directly in the root .htaccess
file and then scope it down to /staff
example, put something like:
<Directory /staff>
AuthType Basic
AuthName "Password Required"
AuthUserFile /somewhere/staff.htpasswd
Require valid-user
</Directory>
somewhere BEFORE the call to:
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
As soon as Apache has called dispatch.fcgi, it's Rails handling
everything, and nobody is checking your htaccess
On 4/11/07, Michael Jones <[EMAIL PROTECTED]> wrote:
> Hello-
>
> I'm having a problem getting .htaccess to work on an area of my site.
> Is anyone else using a .htaccess file to protect certain directories on
> their radiant sites?
>
> I have a secondary level page called 'staff'
>
> http::/somesite.com/staff
>
> I created a directory 'public/staff' and placed a .htaccess file in
> there.
>
> The .htaccess file is not working. Is it possible to do this? Are there
> some other things I need to change?
>
> Thanks-
> Michael
>
> _______________________________________________
> Radiant mailing list
> Post: [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant