Packaging Webapps and Modules for Apache HTTPD 2.4 in Wheezy
General instructions
Instructions for packaging modules and are included in the PACKAGING file in the apache2 package. The latest revision is also available here:
http://anonscm.debian.org/gitweb/?p=pkg-apache/apache2.git;a=blob;f=debian/PACKAGING;hb=next
Upgrading notes
These still need to be written...
Web applications
General idea:
Use dpkg-maintscript-helper mv_conffile to move the config file from /etc/apache2/conf.d/foo to /etc/apache2/conf-available/foo.conf
Use dh_apache2 to enable the config snippet