diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-07-10 12:14:21 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-07-10 12:14:21 +0000 |
commit | 97628122cef1b1530e4cec8aaea117c653243e6c (patch) | |
tree | 1ac614afc86e471d477e0278b30c63ea5c5f9792 /usr.sbin/httpd | |
parent | fc61f692ca17860b6c8a889c7729c86d55a6f9fa (diff) |
make work inside chroot
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r-- | usr.sbin/httpd/src/modules/standard/mod_auth_dbm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/httpd/src/modules/standard/mod_auth_dbm.c b/usr.sbin/httpd/src/modules/standard/mod_auth_dbm.c index 52e94d208df..a621f388535 100644 --- a/usr.sbin/httpd/src/modules/standard/mod_auth_dbm.c +++ b/usr.sbin/httpd/src/modules/standard/mod_auth_dbm.c @@ -160,6 +160,7 @@ static char *get_dbm_pw(request_rec *r, char *user, char *auth_dbmpwfile) q.dsize = strlen(q.dptr) + 1; #endif + ap_server_strip_chroot(auth_dbmpwfile, 1); if (!(f = dbm_open(auth_dbmpwfile, O_RDONLY, 0664))) { ap_log_rerror(APLOG_MARK, APLOG_ERR, r, |