Hello again ;)

I just took myself some free time to work on my cherokee install. What I want to archieve is to password-protect a directory using plain authentication. Therefore I tried using the examples in the wiki adjusted to my needs in the domain configuration. However, I don't seem to be able to get a directory password protected.

This is what my configuration looks like:

Server domain123.de{
        DocumentRoot /var/www/domain123
        DirectoryIndex index.html,index.php
        Directory / {
                Handler common
        }
        Directory /sicher {
                Handler common
                Auth Basic, Digest {
                        Method plain {
                                PasswdFile /var/www/secure/secure.pwd
                        }
                }
        }
        Extension php, php4 {
                Handler phpcgi
        }
}

I have created the "secure"-directory, chowned it to the respective user and group, gave cherokee enough rights to read and write to the directory but whenever I have restarted cherokee and try to access the secured directory, the only message I get using Firefox is:

401 Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

I didn't even have the possibility to supply my credentials. I know that I've missed something, but I simply can't figure out what. Thus I need your help :)

--
Lennart Droste
Erphostraße 34
48145 Münster
Ruf: 0170-5275076

_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to