Debian's Apache1 package doesn't quite do what I need. I have been
building my own and overwriting the files from the Debian package, but
that can get annoying. So I hacked my changes into the Debian source
package and built real .debs. I figure they
might be useful to others.
The main changes are to get rid of -lpthread (needed by mod_perl) and -lexpat and to add mod_deflate. To enable mod_deflate make sure your /etc/apache/modules.conf file has:
And in your httpd.conf add: