Changeset View
Changeset View
Standalone View
Standalone View
www/obhttpd/files/patch-usr.sbin_httpd_httpd.c
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- usr.sbin/httpd/httpd.c.orig 2017-02-16 19:21:54 UTC | |||||
+++ usr.sbin/httpd/httpd.c | |||||
@@ -204,7 +204,7 @@ main(int argc, char *argv[]) | |||||
ps->ps_title[proc_id] = title; | |||||
if (env->sc_chroot == NULL) | |||||
- env->sc_chroot = ps->ps_pw->pw_dir; | |||||
+ env->sc_chroot = "%%WWWDIR%%"; | |||||
for (proc = 0; proc < nitems(procs); proc++) | |||||
procs[proc].p_chroot = env->sc_chroot; | |||||