optimize apache debugging