SSL导致httpd无法使用解决

安装IPA的过程中,修改了/etc/httpd/conf.d/ssl.conf替换所有443为444,导致了httpd启动失败。 查看日志/var/log/httpd/error_log,有以下提示 Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name 修改hosts文件如下: [root@ipa conf.d]# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost.localdomain localhost4 localhost4.localdomain4 localhost ipa ipa.xionghuilin.com ::1 localhost.localdomain localhost.localdomain localhost6 localhost6.localdomain6 localhost ipa ipa.xonghuilin.com 192.168.26.120 ipa ipa.xionghuilin.com [root@ipa conf.d]# 错误2: Apache 因SSL Library Certificate has expired 无法启动. 参考https://www.cnblogs.com/Fle-x/articles/5789614.html, 重新生成ssl证书: [root@ipa ~]# service httpd […]

Apache CGI Perl error encountered and resolved

Tested the Apache CGI perl encountered quite a few problem and solved, 1, configure the /etc/httpd/conf/httpd.conf uncomment the line as: AddHandler cgi-script .cgi .pl   get the the access right of the CGI directory, add below lines, <Directory “/var/www/html/cgi”> Options +ExecCGI AllowOverride None Order allow,deny Allow from all </Directory>   Restart the httpd /etc/init.d/httpd restart […]