2 Oct
2009
2 Oct
'09
9:39 a.m.
I would say, use /usr/share/www/ (or similar) for static/php files, and provide proper configuration files that set the correct Alias and Directory directives for popular servers like apache and lighttpd. Users can then use Include directives (in case of apache) to load those confighuration files and enable the web app.
It is good idea, but it needs patching for most of webapps because of webapps configs should be in /etc and user data - in /var by default.