Mail archive
alpine-aports

[alpine-aports] [PATCH] main/apache2: recompile broken suEXEC

From: <steffen_at_stelas.de>
Date: Thu, 31 Mar 2016 17:30:50 +0100

Fixing two issues regarding suEXEC:
- suEXEC compiles with correct Apache user
- set docroot to /var/www - needed for virtual hosts

---
 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
_at__at_ -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
---
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Mar 31 2016 - 17:30:50 GMT