symfony2: Get base URL in twigKategorieSymfony & PHPPubliziert20.12.2013 You can use the {{ app.request.getSchemeAndHttpHost() }} command to get the current host and scheme.