When compiling apache it's not possible to easily change suexec's document root. If you want to use suexec with a different document root than /var/www (remember file system recommendation with /srv/www as root), you'll have to use an overlay. While USERDIR can be configured via environment variables, SUEXEC_DOCUMENTROOT can't. Reproducible: Always
Created attachment 130977 [details] ebuild with SUEXEC_DOCUMENTROOT environment variable Similar to USER_DIR I've added SUEXEC_DOCUMENTROOT to be changed when compiling/emerging.
Comment on attachment 130977 [details] ebuild with SUEXEC_DOCUMENTROOT environment variable Unified diff, please, not a 15K ebuild.
(and not against 2.0.x, we are not touching that one at all).
Errr, SUEXEC_DOCROOT is already there in 2.2.x
(In reply to comment #4) > Errr, SUEXEC_DOCROOT is already there in 2.2.x > I'm running 2.0, others are masked. If you remove 2.0 in near future it's surely obsolete, otherwise: do whatever you think is right.
No idea which arch are you using. apache-2.2.6 is stable on alpha amd64 hppa ia64 ppc ppc64 and x86 ATM, and is not masked anywhere.
Maybe I'm too lazy to sync and update even monthly, my fault