Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192586 - www-servers/apache-2.2.x - make SUEXEC_DOCUMENTROOT configurable
Summary: www-servers/apache-2.2.x - make SUEXEC_DOCUMENTROOT configurable
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Reported: 2007-09-15 09:33 UTC by Onkobu
Modified: 2007-09-15 19:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

ebuild with SUEXEC_DOCUMENTROOT environment variable (apache-2.0.59-r5.ebuild,13.97 KB, text/plain)
2007-09-15 09:35 UTC, Onkobu

Note You need to log in before you can comment on or make changes to this bug.
Description Onkobu 2007-09-15 09:33:59 UTC
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
Comment 1 Onkobu 2007-09-15 09:35:19 UTC
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 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 09:37:47 UTC
Comment on attachment 130977 [details]
ebuild with SUEXEC_DOCUMENTROOT environment variable

Unified diff, please, not a 15K ebuild.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 09:38:56 UTC
(and not against 2.0.x, we are not touching that one at all).
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 09:41:10 UTC
Errr, SUEXEC_DOCROOT is already there in 2.2.x
Comment 5 Onkobu 2007-09-15 10:11:25 UTC
(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.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 18:34:25 UTC
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.
Comment 7 Onkobu 2007-09-15 19:00:22 UTC
Maybe I'm too lazy to sync and update even monthly, my fault