apache repair