Fixing defualt checks and apache configuration