sync for apache