Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2681 - Apache installs into /home
Summary: Apache installs into /home
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-12 13:58 UTC by Brian Webb
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Webb 2002-05-12 13:58:24 UTC
The default DocumentRoot for apache appears to be /home/httpd.  I don't know
what the FHS say about this, but I (and I think many other) mount /home as a
shared directory, since it is intended for users home directories.  This means
that if I install apache on multiple machines, it installs over top of other
installations.  

Also, in a shared environment, /home may have root write permissions squashed,
which would make it difficult to install apache, squirrelmail, etc.

Could this please be moved to /var?
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-05-12 17:01:50 UTC
see also the current discussion on gentoo-user 
 
this is also important for the net-www/publicfile ebuild - 
hence i am subscribing 
 
my personal opinion is, that i don't care where DocumentRoot 
is located, as i ususally change it anyways (but then i have 
it under /var also) 
 
what do you think? 
Comment 2 Brian Webb 2002-05-12 17:49:23 UTC
I think it should default to /var/www (I think that's RedHat's current default)
or /var/httpd, but I don't really care exactly where.  I just think that it
should be somewhere other than /home.  I'm pretty new to gentoo, so I'm still
learning what all the standards are, but anywhere under /var is probably reasonable.
Comment 3 Donny Davies (RETIRED) gentoo-dev 2002-05-12 22:22:10 UTC
sorry to dissappoint you, but im leaving it where it is.

before i made the *huge amount of changes to apache, we discussed
much of it ad nauseum.  this issue was hashed out as well.  out of
the people that were participating (core developers) it was
decided that the Document Root will be in /home/httpd.

you dont have to like this, nevertheless, this is what it was
decided it will be on Gentoo Linux...

Comment 4 Arcady Genkin (RETIRED) gentoo-dev 2002-05-12 23:08:40 UTC
Well, maybe we need to open it to discussion again.  Nothing is carved in stone
here.  

My opinion is that we made a mistake by putting it in /home, because this is a
definite problem for large sites where /home is nfs-mounted.  My vote is to move
it into /var.
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2002-05-13 12:39:04 UTC
/home was chosen because it is the "best" place for general purpose, mixed-bag
data. /var is for rapidly changing files, and your web docs may or may not be
this type of file.  The FHS has no root filetree for a general purpose
filestore, and we've thought of adding one, but for now /home is the right place
for this.  It also means that your web docs get backed up if you have a backup
script that grabs /home, as many people do.  This is really a FHS problem, not
our problem.  Personally, I'd like to add a /storage or /space or /misc dir to
the root of our fs tree.