apache 服务器配置了SSL证书后使用https协议访问成功,但是只能访问首页,访问其他页面就提示404错误:Not Found The requested URL /archives/188.html was not found on this server. 网站后台采用的是WordPress,开启了固定链接伪静态功能。产生这个错误的原因是WordPress开启了固定链接伪静态功能,而在Apache服务器的配置中没有开...
Apache服务器提示”SSLSessionCache: ‘shmcb’ session cache not supported”错误的解决方法
在Apache服务器中安装SSL证书时,设置完成后重启服务器时有时会遇到如下错误提示:SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).failed解决方法:编辑Apache服务器的配置文件httpd.conf,将"LoadModule socache_shmcb_modu...
Ubuntu Apache 服务器设置HTTP请求自动跳转HTTPS
在Ubuntu Apache服务器中可以通过修改httpd.conf文件,设置HTTP请求自动跳转HTTPS。在httpd.conf文件中的<VirtualHost *:80> </VirtualHost>中间,添加以下重定向代码。RewriteEngine onRewriteCond %{SERVER_PORT} !^443$RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R]保存后重启服务器即可。
在Ubuntu Apache 服务器上安装SSL证书
很过浏览器都已经将http协议的链接标记为不安全的链接,很多搜索引擎也把https协议作为收录的加权因子。将网站的http协议改为https协议即需要给服务器安装SSL安全证书。本文的安装服务器为Ubuntu Apache服务器,服务器在阿里云上,因此使用的是阿里云的免费SSL证书。本文的服务器已安装OpenSSL。本文档证书名称以domain name为示例...