Apache - phases and Handlers