apache24 observation and question
DTD
doug at safeport.com
Sun Jan 7 05:52:08 UTC 2018
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 at safeport.com
Voice: 301-217-9220
Fax: 301-217-9277
More information about the freebsd-apache
mailing list