I am running Ubuntu Server 10.04, Apache2 and PHP 5.3. I am along the way of moving Drupal sites over from another server, and setting them on this server with named based virtual hosting. I have got one site set on a subdomain site.domain.com and also the doc root is /var/www/vhosts/domain.com.

Things are working fine, with the exception that images which in fact had formerly been planned as ../../sites/default/files/images/picture.jpg aren't exhibiting on the website.

Basically try looking in firebug in the path being sought out it's http://site.domain.com/vhosts/domain.com/sites/default/files/images/picture.jpg.

And So I know i'm able to fix this just by getting rid of the ../../ in the relative path for that image, but I am wondering why the complete path is showing within the URL? Alternatively server, when you hit the domain root, the road wouldn't return any father so I am wondering how it's that vhosts is showing within the URL for that image here.

I've the DocumentRoot occur my apache2.conf and my sites-available files for /var/www/vhosts/domain.com.

Any ideas? Thanks ahead of time.