apply patch from dnsmichi (bom, shebang, generic copyright)
fix apache version check (-v)