[arch-general] Location of sample websites
Hi, I am using wordpress and I found that the sample wordpress site is installed in the /srv/http location. I find it convenient that all such sample/getting started things should be actually installed someplace like /usr/share/wordpress/ and then anyone who wants to use the site can copy paste the files to wherever he wants and then use them accordingly. Is there any reason for the current behaviour? Am I missing some aspect? Thanks for your reply in advance. -- Cheers and Regards Jayesh Badwaik stop html mail | always bottom-post www.asciiribbon.org | www.netmeister.org/news/learn2quote.html
Am 08.06.2012 22:59, schrieb Jayesh Badwaik:
Hi,
I am using wordpress and I found that the sample wordpress site is installed in the /srv/http location. I find it convenient that all such sample/getting started things should be actually installed someplace like /usr/share/wordpress/ and then anyone who wants to use the site can copy paste the files to wherever he wants and then use them accordingly.
Is there any reason for the current behaviour? Am I missing some aspect? Thanks for your reply in advance.
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 Schmitz, https://pierre-schmitz.com
On Friday 08 Jun 2012 23:16:38 Pierre Schmitz wrote:
Am 08.06.2012 22:59, schrieb Jayesh Badwaik:
Hi,
I am using wordpress and I found that the sample wordpress site is installed in the /srv/http location. I find it convenient that all such sample/getting started things should be actually installed someplace like /usr/share/wordpress/ and then anyone who wants to use the site can copy paste the files to wherever he wants and then use them accordingly.
Is there any reason for the current behaviour? Am I missing some aspect? Thanks for your reply in advance.
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.
Okay. Thanks. Wordpress has that bug I think. I will report it. -- Jayesh Badwaik stop html mail | always bottom-post www.asciiribbon.org | www.netmeister.org/news/learn2quote.html
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.
participants (3)
-
David C. Rankin
-
Jayesh Badwaik
-
Pierre Schmitz