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

Bug 99118

Summary: apache2 ebuild should allow setting suexec-docroot by environment variable
Product: Gentoo Linux Reporter: David Held <andukar>
Component: [OLD] ServerAssignee: Stuart Herbert (RETIRED) <stuart>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Held 2005-07-15 09:01:52 UTC
The apache2 ebuild always uses /var/www as the suexec document root. A different
setting may well be desired if websites are stored in a different location.

It would be nice if exporting an environment variable before emerging apache
could solve this problem. Currently, one needs to manually modify the ebuild and
rebuild the digest files in order to change it. This can easily be neglected
when apache is rebuilt as part of an update, leaving a non-functioning system.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-15 10:36:38 UTC
It's not only apache, the whole bunch of webapp ebuilds (still) have this path
hardcoded afaik.

Stuart: I'm aware the request is not new, but couldn't find a relevant bug...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-15 11:25:23 UTC
(In reply to comment #1)
 
> Stuart: I'm aware the request is not new, but couldn't find a relevant bug...

I could... :) Reopen that one.

*** This bug has been marked as a duplicate of 92471 ***