- Plesk for Linux
"File Upload Failed" error appears while uploading the file via the roundcube. File actually gets attached.
Settings tab shows blank screen.
Chrome DevTools (F12) in network tab shows following error:
Refused to display 'URL' in a frame because it set 'X-Frame-Options' to 'DENY'.
Incorrect Apache settings. Directive
Header set X-Frame-Options
is set to
Find the definition of the directive
Header set X-Frame-Options:
# grep -ir 'X-Frame-Options' /etc/httpd/
/etc/httpd/conf.d/ssl.conf:Header always set X-Frame-Options DENY
Header set X-Frame-Optionsto "SAMEORIGIN".
# service httpd reload
Note: It is recommended to define this option for particular sites or use custom templates to avoid unwanted impact to the applications which use frames\iframes for work.