Hello if anyone wants to tackle this I am willing to pay for your time. Plus I will post the solution here for the community.
PM if interested.
I currently use one server as a pre-production development server, where I host multiple domains under one document root.
On my production websites I typically us aliases for images and virtual includes.
Alias /images/ /var/www/example.com/images/
Alias /includes/ /var/www/example.com/includes/
My development server is setup like
<VirtualHost 192.168.0.59>
DocumentRoot /var/www/
DirectoryIndex index.html index.htm
</Virtualhost>
I have separate directories for domain
/var/www/example.com
/var/www/example2.com
I have issues when a page like
/var/www/example2.com/category/product/index.html makes reference to <img src="/images/prodpic.jpg">
Obviously the webserver looks at
/var/www/images/prodpic.jpg
and not
/var/www/example2.com/images/propic.jpg
Any ideas would be greatly appreciated.
Rob