Added apache mode