I don't really see a problem here. The FHS dictates: /src is site-specific. The Policy dictates: webapps-files in /usr/share/package/, which I strongly agree.
Now, what prevents us writing helper-packages to maintain a subset of, say, /srv/webapps/? It could be, like Kai said, /srv/[webapps|www]/HTTP_HOST/ or whatever, that is managed by this helper-package. I mean, every Webapp which has to have the static (.inc.php or whatever) files _inside_ the webroot is seriously broken. We could instead just have everything static in /usr/share/package/whatever, everything configurable by the user in /etc/package/whatever, and assembling everything together via /srv/webapps/whatever. So, say, wordpress - has the programm in /usr/share/wordpress/, the per-site-configuration somewhere in /etc/wordpress/SITE (to be agreed upon), and /srv/webapps/whatever[1..inf]/ defining the site. I hope I could make me clear ... -- Lukas
signature.asc
Description: This is a digitally signed message part