Upload image on loadbalanced url
Hi,
We have a client for which we have made a web portal on which the "content people" etc can go in and edit deliveries. The web portal use a custom domain for the client on loadbalanced frontal servers.
One of the most important features for this is to be able to upload an image and save it as a file resource to be referenced by the delivery. This is however the only feature that does not work.
The issue with uploading images is that it can end up on the wrong frontal server and hence cannot be moved to public directory from upload and cannot be published to all servers.
The upload dialog is a web app in an iframe and I've tried to hard code frontal server 1 to upload. This works for upload but I then cannot reference the image back to the parent window due to cross domain scripting policies.
I've also tried to save the file resource as in upload directory and not move it to public. This works but I cannot publish then and hence the image will only work when the frontal server where the image was uploaded to happens to be the one used by the load balancer.
How can I fix this issue?
Do I have to configure a new custom domain that points to frontal server 1 and use that for this function or is there a better way?
Regards,
Peter