prepare for apache