diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-07-09 23:39:32 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-07-09 23:39:32 +0000 |
commit | f5a735767c9cf3c394eda2fb02cae9c1367a9a77 (patch) | |
tree | 168c28ffd09bd0ec2a4cb5d5331b92ad5ddf70d8 | |
parent | 8836eea528507c412a52acde700d682e2835f5ef (diff) |
make mod_alias work inside the chroot.
-rw-r--r-- | usr.sbin/httpd/src/modules/standard/mod_alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/standard/mod_alias.c b/usr.sbin/httpd/src/modules/standard/mod_alias.c index 333ec157952..d1075d3e92a 100644 --- a/usr.sbin/httpd/src/modules/standard/mod_alias.c +++ b/usr.sbin/httpd/src/modules/standard/mod_alias.c @@ -136,7 +136,7 @@ static const char *add_alias_internal(cmd_parms *cmd, void *dummy, char *f, char /* XX r can NOT be relative to DocumentRoot here... compat bug. */ - ap_server_strip_chroot(r, 0); + ap_server_strip_chroot(r, 1); if (use_regex) { new->regexp = ap_pregcomp(cmd->pool, f, REG_EXTENDED); |