add apache and templates