Hello,

I'm in a bit of a pickle! here's the issue...

I've got two servers;

'Server A' is the live server, accessed via www.example-a.com
'Server B' is the development server, accessible via www.example-b.com (IP restricted, but allows access to /img/ and as to not duplicate our CMS etc, we want to host all our image content here.)

The problem is, if we write a news post on via the CMS, and add images, it adds a relative path to say 'img/uploads/hello.jpg' which exists at: 'www.example-b.com/img/uploads/hello.jpg' but on the live website it's looking for the image in www.example-a.com/img/uploads/hello.jpg

Can i with possibly .htacecss re-directs(?) make any request that looks in img/uploads/ be redirected to look at www.example-b.com/uploads/ ?

I realise i can probably, with a bit of work alter all of my image paths in my site to use absolute links to look at example-b.com, but i'd rather not do this as it then means a bit headache later if we change how these sites are setup.

Thanks