Thank you. My "httpd.conf" :pjsr2 wrote: ↑2019/01/13 16:04:41There is a long list of errors and warnings in your log file.
Start with resolving the ":error" messages, starting with the first one you encounter. Others further down may be errors that are consequences of earlier ones.
Your first error message is:Looks like you are setting the value of ServerTokens somewhere in your configuration. The default setting is "Full". Try setting it to the default (or just remove it). Why/how did you change the settings for SecServerSignature and ServerTokens? Are you following an installation guide with outdated information, or are you copying configuration information from an old installation?[Sun Jan 06 03:30:01.641250 2019] [:error] [pid 22045] SecServerSignature: original signature too short. Please set ServerTokens to Full.
You need to install the php module php-mbstring. You may need to install additional php modules if you get similar error messages. Other php packages that you may need to install are: php-mysql, php-gd, php-xml, php-mcrypt and php-xmlrpc. To install php-mbstring:[Sun Jan 06 11:23:46.157369 2019] [:error] [pid 22960] [client 172.21.50.9:51758] PHP Fatal error: Uncaught Error: Call to undefined function mb_list_encodings() in ...Code: Select all
sudo yum install php-mbstring
The SELinux context of the files in your installation under /var/www/html/wp-*/ may be incorrect. This happens for example if you moved them from another location. To restore the SELinux context for all files under /var/www/html do:[Sun Jan 06 15:55:02.949152 2019] [:error] [pid 22962] [client 172.21.50.63:54436] client denied by server configuration: /var/www/html/wp-content/uploads/2017/12/4-324x160.jpg, referer: ...You can find useful information on SELinux in https://wiki.centos.org/HowTos/SELinux.Code: Select all
sudo restorecon -r -v -F /var/www/html
Code: Select all
ServerSignature Off
ServerTokens Prod
SecServerSignature Microsoft_IIS_8
About SELinux command:
Code: Select all
sudo restorecon -r -v -F /var/www/html
Code: Select all
$ ll -Z
drwxr-xr-x. root root system_u:object_r:httpd_sys_script_exec_t:s0 cgi-bin
drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 html