Feature/apache config

this uses the project_uses_ssl var in apache config.