fix template support in apache_site