Due to high traffic, we had to spread our website over two servers and a load balancer on top.
The master and slave servers are synced one way, from master to slave.
We set a subdomain (cms.domain.com) to point to the master server just for CMS purposes.
All seems to work fine-ish, except CKfinder and CKeditor when uploading images as the frame that they open still points to www.domain.com and that throws the following error on Chrome:
Unsafe JavaScript attempt to access frame with URL http://cms.domain.com/system/index.php?S=2cefbd42dfa263be59dd3f5a725939749a29de90&D=cp&C=content_publish&M=entry_form&channel_id=4 from frame with URL http://www.domain.com/themes/third_party/wygwam/lib/ckfinder/core/c…pload&type=Images&id=1&CKEditor=field_id_345&CKEditorFuncNum=4&langCode=en. Domains, protocols and ports must match.
Now, I read on the Wygwam changelog that on version 1.1.2 there was this fix:
Fixed file browsing and uploading for EE installs with relative Fieldtype Folder URLs and/or varying CP subdomains
Has this anything to do with what I'm trying to do?
If not, is there any way I can make this work?
Thanks.