[arch-general] Location of sample websites
David C. Rankin
drankinatty at suddenlinkmail.com
Sat Jun 9 20:42:40 EDT 2012
On 06/08/2012 04:16 PM, Pierre Schmitz wrote:
> No package should install anything into /srv (it's kind of a /home for
> services; see FHS). If it does it is a bug that should be reported.
Pierre,
I'm not sure I fully understand Arch's rationale on this. According to FHS:
/srv : Data for services provided by this system
Purpose
/srv contains site-specific data which is served by this system.
^^^^^^^^^^^^^
For wiki's, web data files for UPS status, etc.. -- these are all
site-specific data which served by the system. Distro's (not to say others are
any more right that Arch) have long installed the data files that are served by
web application in /srv. Apache, PHP, etc.. presume by default that files will
be in /srv with many defaults and for includes eg. open-basedir, etc..
/usr/web works just fine too, but that means that for a majority of non-arch
provided packages that config changes are needed. From a packaging and usability
standpoint, I wonder if installing all the packages web data in /usr/web doesn't
create more problems than it solves. Not knocking anything, just curious really.
--
David C. Rankin, J.D.,P.E.
More information about the arch-general
mailing list