Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 192586

Summary: www-servers/apache-2.2.x - make SUEXEC_DOCUMENTROOT configurable
Product: Gentoo Linux Reporter: Onkobu <b.ohnsorg>
Component: New packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: VERIFIED WORKSFORME    
Severity: enhancement    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild with SUEXEC_DOCUMENTROOT environment variable

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