switch to apache

change pages to php; separate header and footer into separate includes