Maybe you should try to do it with a directory based rule, such as /wiki. I remember getting it to work that way.
On 11/10/09, Anoop Alias <[email protected]> wrote: > Password protected directories doesnt work in cherokee or i dont get how we > configure that. > > I have a main domain with docu-root : /home/domain/httpdocs > > I have a program installed on a subfolder : /home/domain/httpdocs/wiki > > What i need is to protect wiki folder with a .htpasswd file ;so anyone > accessing domain/wiki should be prompted a passwd. > > This never works. > > Under Behaviour I added a regular expression rule: > > ^/wiki/(.*)$ > > Handler :none > > and under security setup authentication with a apache htpaswd file. > > made this rule the first one (even before php) as I need password protection > to work first. > > But when i browse domain/wiki password protection doesnt work :( > > What is the technique to provide password protection to a subfolder . both > the document root and the subfolder have a mix of php and html files > > Thanks, > Anoop > > -- > Anoop P Alias (PGP Key ID : 0x014F9953) > GNU system administrator > http://GnuSys.net > -- Sent from Gmail for mobile | mobile.google.com Yo'av Moshe _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
