sudo chcon -t httpd_sys_rw_content_t {path_of_your_project_directory} -R
Category Archives: Apache
upstream sent too big header while reading response header from upstream – plesk

Add additional nginx directives globally on plesk
vi /etc/nginx/conf.d/directives.conf
The directives
proxy_send_timeout 1200s;
proxy_read_timeout 1200s;
fastcgi_send_timeout 1200s;
fastcgi_read_timeout 1200s;
proxy_buffers 8 16k;
proxy_buffer_size 32k;
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
Save, close & restart nginx
open_basedir restriction in effect. File(/) is not within the allowed path(s):
<Directory "/path/to/directory">
php_admin_value open_basedir none
</Directory>
Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1. Set the ‘ServerName’ directive

Lets edit our httpd.conf, on CentOS 7.6 & Apache/2.4.6 it’s located at /etc/httpd/conf/httpd.conf
nano /etc/httpd/conf/httpd.conf
And edit our ServerName line/entry.
Restart httpd
service httpd restart
Apache change prefork to worker
Lets open 00-mpm.conf and switch the loaded module!
nano /etc/httpd/conf.modules.d/00-mpm.conf
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
LoadModule mpm_worker_module modules/mod_mpm_worker.so
service httpd restart
Et voilá!
https://httpd.apache.org/docs/2.4/mpm.html
https://httpd.apache.org/docs/2.4/mod/worker.html
https://httpd.apache.org/docs/2.4/mod/prefork.html
Apache2Buddy
apachetop

Refused to display ‘https://www.domain.com/admin/top.php’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.
Refused to display ‘https://www.domain.com/admin/top.php’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.
Setting this up, on your .htaccess might solve the problem
Header set X-Frame-Options SAMEORIGIN
But, I have multiple frames…
Refused to display ‘https://www.domain.com/admin/top.php’ in a frame because it set multiple ‘X-Frame-Options’ headers with conflicting values (‘DENY, SAMEORIGIN’). Falling back to ‘deny’.
This worked out!
Header always unset X-Frame-Options
As seen on https://stackoverflow.com/questions/17092154/x-frame-options-on-apache
Premature end of script headers: test.cgi
Premature end of script headers: in.cgi
Apache/2.2.15 (Unix) DAV/2
PHP/5.2.17 configured
suEXEC
mod_perl installed?
.htaccess not being read properly
Apache 2.2 not reading the .htaccess?
<Directory “/var/www/html”>
AllowOverride All
Try to edit the .conf for the domain and use AllowOverride All.
Save and restart Apache.