From owner-freebsd-apache@freebsd.org Sun Jan 7 05:52:08 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 030A0E6B798 for ; Sun, 7 Jan 2018 05:52:08 +0000 (UTC) (envelope-from doug@safeport.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E434E7856C for ; Sun, 7 Jan 2018 05:52:07 +0000 (UTC) (envelope-from doug@safeport.com) Received: by mailman.ysv.freebsd.org (Postfix) id E0A28E6B797; Sun, 7 Jan 2018 05:52:07 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0545E6B796 for ; Sun, 7 Jan 2018 05:52:07 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B03397856B for ; Sun, 7 Jan 2018 05:52:07 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id w075hSuF049836 for ; Sun, 7 Jan 2018 00:43:28 -0500 (EST) (envelope-from doug@safeport.com) Date: Sun, 7 Jan 2018 00:43:28 -0500 (EST) From: DTD To: apache@FreeBSD.org Subject: apache24 observation and question Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Sun, 07 Jan 2018 00:43:28 -0500 (EST) X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 05:52:08 -0000 We have been using apache forever (since 1.3). With 2.4 unless I am missing something we have to build apache putting the following in make.conf: SUEXEC_DOCROOT="/home" SUEXEC_USERDIR="htdocs" This seems to be required and not documented to support the relativelly traditional setup of having the user's site in /home/user/htdocs. I could find no way of specifying this on the make statement. The default setup: suexec -V -D AP_DOC_ROOT="/usr/local/www/data" -D AP_GID_MIN=1000 -D AP_HTTPD_USER="www" -D AP_LOG_EXEC="/var/log/httpd-suexec.log" -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin" -D AP_UID_MIN=1000 -D AP_USERDIR_SUFFIX="public_html" Can not be overridden without recompiling suexec.c. If all this is correct a document change would be helpful. If I am off-base I would like to know but I thought I would try this rather than a useless PR if that was the case. Thanks, DT Denault _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277