On Tue, Feb 28, 2012 at 11:08 AM, Seblu <seblu@seblu.net> wrote:
On Tue, Feb 28, 2012 at 5:59 PM, Seblu <seblu@seblu.net> wrote:
what's about adding /etc/webapps and /usr/share/webapps in php.ini ? We already add /srv/http.
Looking inside repositories for examples, phpmyadmin look like an exception. We lack of clean rules and a cleanning of our web packages.
What's about a /var/lib/webapps to have "writable" content outside /usr ? Wiki suggest to symlink /var/lib to /usr/share/webapps?
imo, which is the only relevant opinion [sarcasm], these things should be in /usr/share/{pkgname} like anything else, with upload directories/etc configured to /var/lib/{pkgname}. phpmyadmin (on debian?) IIRC works like this -- nothing should be writing to /etc, and preferably nothing should be writing to /usr/share either (locale-gen is the only tool i know off-hand that does this regularly, and is incorrect imo). on other distros these webapps are enabled by dropping configuration files in /etc/httpd/* ... it would be nice to have a generic way of specifying installation details (vs. just assuming apache2, which bytes compared to uwsgi/mongrel2/nginx/{insert-here}) -- C Anthony