summaryrefslogtreecommitdiff
path: root/daemon/httpauthd.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2007-06-01 13:31:45 +0000
committerStef Walter <stef@memberwebs.com>2007-06-01 13:31:45 +0000
commit20cde33c0b943c77a7c9d8d5d9c3d9281a6b13a5 (patch)
treea92ce9cbf1d56ec162ab2b179116b627dd2c2b30 /daemon/httpauthd.c
parent9ab8871e7d0387a7326d5179ab5b64a4995fce0d (diff)
A better fix for the problem of the method not matching up with the digest auth.
Diffstat (limited to 'daemon/httpauthd.c')
-rw-r--r--daemon/httpauthd.c7
1 files changed, 4 insertions, 3 deletions
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;
}