On 01/11/2010, at 19:45, Yanik Proulx wrote:

> I know there are explanations and examples of how to setup
> authentication in the online documentation, but I just can't get it to
> work the way I want.
> 
> I'm running Django + Cherokee. I would like to password protect the
> entire site, except for one folder (/api). I can't figure out what
> rule to write in which order.

The rule's match would be 'NOT (Directory /api)'. It should be placed as the 
first of the list, market as Non-Final. In that way, every single request (but 
the ones targeting the /api directory) will apply your authentication settings.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to