Web application policy
Web applications. Mega important. :)
I raised the issue sometime ago. Though since I have been gallivanting across Russia and Asia until now I didn’t do any work in this area.
Only recently I noticed the issue was brought up again by Neil McGovern and a debian-webapps mailing list created.
So back to work.
I really wanted to see the top level directory /web. Mainly because that’s how I have configured my own servers for years and I find it a good solution.
So a little foolishly I spewed out my thoughts on two fronts.
Ok, I concede. ;)
Lets go for the non-consensus /srv/www could be also /srv/physics/www of FHS‘s /srv/www . Though, I still think we should store package files by HTTP_HOST.
I mean everybody has an Apache configuration like this below already, don’t you?
debian$ cat /etc/apache2/sites-available/virtual NameVirtualHost *
UseCanonicalName Off VirtualDocumentRoot /web/%0 #LogFormat "%V %h %l %u %t "%r" %>s %b" vhost_common #CustomLog /var/log/apache/access_log full Options All
No messy editing of httpd.conf after a package install!
I still haven’t got my head around the problem. I know about my cases or packages, but I am not sure what type of package files are referred to here. I probably need to work out some examples or test cases and look at the other Web applications in Debian.
Bug #314808 is one to watch.