From 20cde33c0b943c77a7c9d8d5d9c3d9281a6b13a5 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 1 Jun 2007 13:31:45 +0000 Subject: A better fix for the problem of the method not matching up with the digest auth. --- daemon/httpauthd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'daemon/httpauthd.c') diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c index b77abcb..44156eb 100644 --- a/daemon/httpauthd.c +++ b/daemon/httpauthd.c @@ -1500,7 +1500,8 @@ static int config_parse(const char* file, ha_buffer_t* buf) if(ha_confbool(name, value, &v) < 0) exit(1); /* Message already printed */ - opts->digest_ignoreuri = v; + ha_messagex(NULL, LOG_WARNING, "DigestIgnoreURI is deprecated, use DigestAllowAnyPath"); + opts->digest_allowany = v; recog = 1; } @@ -1514,13 +1515,13 @@ static int config_parse(const char* file, ha_buffer_t* buf) recog = 1; } - else if(strcmp(name, "digestignoremethod") == 0) + else if(strcmp(name, "digestallowanypath") == 0) { int v; if(ha_confbool(name, value, &v) < 0) exit(1); /* Message already printed */ - opts->digest_ignoremethod = v; + opts->digest_allowany = v; recog = 1; } -- cgit v1.2.3