I have a problem really odd about css rewrite. suppose we have a css in AcmeTestBundle/Resources/public/css folder, named a.less. In this a.css we have a rule like: background: url(../images/buttons.png) no-repeat top left; which is the AcmeTestBundle/Resources/public/images/button.png, for some ugly reasons, if we use symfony2 assetic, the cssrewrite can not translate it correctly, so we use this commmand first ; php app/console assets:install and then in our layout.twig, we can use this: {% stylesheets 'bundles/acmetest/css/*.less' filter='lessphp,cssrewrite,?yui_css' output='css/test.css' %} {% endstylesheets %} well, the odd thing come, we get a web/css/test.css, and in this file, we have a image link like this: background: url((../../bundles/acmetest/images/buttons.png) no-repeat top left; if your site url is the root of the domain, no problem, like you have a domain name : www.abcefg.com. But,...