Hi all,

I'm trying to use http authentication for a simple website. The configuration looks like the following:

<server localhost>
      port = 7777
      listen = 0.0.0.0
      allowed_scripts = cgi
      docroot = /var/www
      <auth>
              dir = /
              realm = foobar
      </auth>
</server>

The directory /var/www contains a file .yaws_auth which has entries like the following:

{"testuser", "mypw"}.

When I access the site the http authentication window is shown. I enter the user/password and submit, then the window will be shown again and again. I've checked all logs without finding any useful information. Running Yaws in debug mode didn't help either.

The Yaws version I'm running is 1.87

Any idea what I'm doing wrong?

Cheers,
Tino