Fix EZP-20862: YUI3 JS/CSS files fail to load in non vhost setup
(cherry picked from commit 0f00521f6c84bc59b539d1f1e6b228ba3a79a88b)