我在HP服务器上安装了XAMPP
,它有一个有效的IP地址。 XAMPP正在运作,但几天前它突然停止并盯着报告此错误:
[pid 4196:tid 404] AH00098:pid文件E:/xampp/apache/logs/httpd.pid被覆盖 - 以前Apache运行的不干净关闭?
[pid 4196:tid 404] AH01909:为www.example.com:443配置的RSA证书不包含与服务器名称匹配的ID
这是httpd.conf
:
ServerRoot "E:/xampp/apache"
.
.
.
ServerAdmin postmaster@localhost
.
.
.
ServerName localhost:88
.
.
.
这是httpd-ssl.conf
(enbabled lines)的片段:
.
.
.
Listen 443
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
SSLPassPhraseDialog builtin
SSLSessionCache "shmcb:E:/xampp/apache/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
<VirtualHost _default_:443>
# General setup for the virtual host
DocumentRoot "E:/xampp/htdocs"
ServerName www.example.com:443
ServerAdmin admin@example.com
ErrorLog "E:/xampp/apache/logs/error.log"
TransferLog "E:/xampp/apache/logs/access.log"
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "E:/xampp/apache/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
CustomLog "E:/xampp/apache/logs/ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
根据我在XAMPP - Apache has error with RSA certificate and SSL中搜索和提议的内容,我认为问题的来源可能是ServerName
所以我放置了配置,但我真的不知道如何配置它。
我尝试了上面链接中给出的解决方案,但它没有用。
提前致谢