Apache - suEXEC is broken
suEXEC is compiled with Apache user “http”, but Apache is running as
user “apache”.
As suggested on the devel mailing list (25 Mar 2016), following two
lines needs to be fixed in APKBUILD:
main/apache2/APKBUILD | 4 —
1 file changed, 2 insertions(+), 2 deletions(-)
diff —git a/main/apache2/APKBUILD b/main/apache2/APKBUILD
index ad1288e..9a3e911 100644
—- a/main/apache2/APKBUILD
+ b/main/apache2/APKBUILD
atat –71,8 +71,8 @@ build() {
—enable-layout=Alpine \
—enable-so \
—enable-suexec \
- —with-suexec-caller=http \
- —with-suexec-docroot=/var/www/localhost/htdocs \
- —with-suexec-caller=apache \
- —with-suexec-docroot=/var/www \
—with-suexec-logfile=/var/log/apache2/suexec.log \
—with-suexec-bin=/usr/sbin/suexec \
—with-suexec-uidmin=99 \
—
2.6.6
—-
Fixing two issues regarding suEXEC:
- suEXEC compiles with correct Apache user
- set docroot to /var/www - needed for virtual hosts
(from redmine: issue id 5500, created on 2016-04-26, closed on 2017-05-22)
- Changesets:
- Revision 35091c09 on 2016-04-27T13:45:17Z:
main/apache2: recompile broken suEXEC
Fixing two issues regarding suEXEC:
- suEXEC compiles with correct Apache user
- set docroot to /var/www - needed for virtual hosts
ref #5500
- Revision 51914b52 on 2016-07-13T10:15:34Z:
main/apache2: recompile broken suEXEC
Fixing two issues regarding suEXEC:
- suEXEC compiles with correct Apache user
- set docroot to /var/www - needed for virtual hosts
ref #5500