From e1381c06b8d23a558a761f3359b203f264df0b9d Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 10 Jul 2002 16:30:17 +0000 Subject: chroot aware as well --- usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c b/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c index f6d7c3e384b..6cae1f3533e 100644 --- a/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c +++ b/usr.sbin/httpd/src/modules/experimental/mod_auth_digest.c @@ -543,6 +543,7 @@ static const char *set_digest_file(cmd_parms *cmd, void *config, const char *file) { ((digest_config_rec *) config)->pwfile = file; + ap_server_strip_chroot(((digest_config_rec *) config)->pwfile, 1); return NULL; } @@ -550,6 +551,7 @@ static const char *set_group_file(cmd_parms *cmd, void *config, const char *file) { ((digest_config_rec *) config)->grpfile = file; + ap_server_strip_chroot(((digest_config_rec *) config)->grpfile, 1); return NULL; } -- cgit v1.2.3