update apache module to new 2.7 style