-----Original message-----
From:Marcus Hüwe <suse-tux@gmx.de> Sent: Saturday 6th August 2016 14:30 To: opensuse-factory@opensuse.org Subject: Re: [opensuse-factory] Packaging of webapplications
On 2016-08-06 10:57:24 +0200, Bo Simonsen wrote:
I am a bit unsure on what is the right way of packaging webapps. Quite many webapps uses /srv/www/htdocs/<webapp>
But I don't think it is right to install OS provided php code in the wwwroot. I would say /srv/www/<webapp> is more appropriate or /usr/share/webapp and then a apache config making a alias (e.g. kopano does that, more the Debian way I would say?).
You should avoid to package files in /srv, if you want to comply with the (recently changed) packaging guidelines (see [1] and [2]).
[1] https://en.opensuse.org/openSUSE:Packaging_guidelines#Web_Applications [2] https://lists.opensuse.org/opensuse-packaging/2016-03/msg00050.html
Thanks Markus. I didn't stumple on these links when looking on google. From what I can see the following apps doesn't do this right: * phpMyAdmin * roundcube * ownCloud/nextcloud Roundcube installs in /srv/www and the rest in /srv/www/htdocs. Bo -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org