We're using Umbraco on a load balanced environment (AWS). We've configured our load balancer so all traffic with a path starting /umbraco is treated as back office and therefore rooted to our single back office server, all other traffic is rooted to our load balanced servers.
This appeared to be working OK but only recently we've spotted preview is broken, the issue here is that the preview page uses an iframe which (through redirects) the src URL ends up without the /umbraco path (see line 37 of \umbraco.presentation\umbraco\dialogs\Preview.aspx.cs) and therefore is rooted to the load balanced servers which don't have the preview data.
Preview.aspx.cs line 37
Response.Redirect("../../" + d.Id.ToString(CultureInfo.InvariantCulture) + ".aspx", true);
The alternative is we host back office traffic on a different sub-domain, the solution we had we believe is more simple and only requires a single SSL. Does this look like a issue that should be looked at and raised on Umbraco issues?
Preview not working on load balanced environment
Hi,
We're using Umbraco on a load balanced environment (AWS). We've configured our load balancer so all traffic with a path starting
/umbraco
is treated as back office and therefore rooted to our single back office server, all other traffic is rooted to our load balanced servers.This appeared to be working OK but only recently we've spotted preview is broken, the issue here is that the preview page uses an iframe which (through redirects) the src URL ends up without the /umbraco path (see line 37 of \umbraco.presentation\umbraco\dialogs\Preview.aspx.cs) and therefore is rooted to the load balanced servers which don't have the preview data.
The alternative is we host back office traffic on a different sub-domain, the solution we had we believe is more simple and only requires a single SSL. Does this look like a issue that should be looked at and raised on Umbraco issues?
Thanks
Andy
is working on a reply...