Posted - 11/19/2020 : 16:33:28
I have a couple of strange issues that I think are related, but I'm jammed up on. CKEditor used to work great pre 7.0 and before we upgraded to a new Linux host using ModSecurity. After upgrading, now it's not.. sort of. This is where it gets complicated. The first issue is, and after hours of searching, it seems that there is some rule in ModSecurity that's preventing CKEditor from rewriting a modified content region. It returns a HTML 403 error code. Turning off ModSecurity temporarily, allows it to work, but only in a subdomain off of the main domain. Obviously this is not an optimum solution and only an emergency bypass while trying to finish developing a new ECT responsive version of the original site in the subdomain. The 'home' or main domain is www.tek-tite.com. The new 'responsive' version under construction is www.tek-tite.com/newdesign. I'm able to to load and run properly a copy of CKEditor located in the tek-tite.com/newdesign/vsadmin subdirectory to edit content regions in the /newdesign site. However, trying to use a separate copy of CKEditor located in the main 'home' domain, tek-tite.com/vsadmin, to edit any content region, it tries and somewhat loads CKEditor, but there are no menu icons. The buttons are there as scrolling across them highlights a blue patch, that when clicked perform the assigned operation. Yet there's no icon in the button, so I don't know what the button is without clicking it. I've triple checked the includes.php files in both directories and both only have the global variable '$htmleditor="ckeditor";'. I've deleted, redownloaded from ECT, and reloaded the entire CKEditor directory and still no joy. So my dilemmas are twofold. I don't know nor do I know how to find and modify what rule in Mod_Security is blocking the editor from being able to update the page on the server in the first place. Secondly, I can't understand how the editor works flawlessly in a subdomain off the main domain directory, but not in the main site directory. Thanks many times over for your help! Karl
|