Date: Sun, 7 Jan 2018 00:43:28 -0500 (EST) From: DTD <doug@safeport.com> To: apache@FreeBSD.org Subject: apache24 observation and question Message-ID: <alpine.BSF.2.00.1801070032520.48527@bucksport.safeport.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1801070032520.48527>
