I'v got a problem. Client has VPS and we transfered magento system to it.
The problem is that if for example path to magento is /var/www/magento and there is some file in it like /var/www/magento/file.js(for example) then on frontend it tries to load:
How I can fix this?
Strange thing: CSS files are listed properly, but JS file use wrong path.