[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: policy for location of web content - application uploaded images

On Tue, Sep 14, 2010 at 1:44 AM, Karl Schmidt <karl@xtronics.com> wrote:

> wordpress uses /srv/www/.../uploaded pictures
> mediawiki uses /var/lib/mediawiki/images/
> Seems like wordpress is doing this correctly  - from fhs  - /var/lib is for
> "variable state information"
> and "/srv : Data for services provided by this system"

It is fine to use /srv if the sysadmin has chosen the location but not
fine to use it by default.

So wordpress is doing it wrong (unless there is a debconf question).

Ideally the app should ask the sysadmin how many instances they want
and what URLs the app should be installed at and which directories and
databases to use for data storage for each instance and then generate
the correct configuration for the sysadmin's chosen web server.

So mediawiki is probably doing it wrong since that setup only allows
for one mediawiki instance installed on the system.



Reply to: