I am trying to configure the assets paths for my symfony2 application. I use the following
asset_base_urls
in config_prod.yml
framework:
templating:
engines: ['twig']
assets_base_urls: http://example.com/mysymfony2app/web/
The fontawesome icons display as expected when i type in the browser http://example.com
However, when I add www
as in http://www.example.com
, the icons do not display.
Anyone knows how to fix this? Or a better implementation?