收到错误“无效的命令 'SSLProxyCheckPeerCN' [英] getting an error "Invalid command 'SSLProxyCheckPeerCN'

查看:106
本文介绍了收到错误“无效的命令 'SSLProxyCheckPeerCN'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的网站中加载一个表单,但在包含以下 htaccess 代码时出现错误,但我不知道如何解决此错误..

i need to load a form in my website and i am getting an error while i include the following htaccess code and i don't know how to solve this error..

htaccess 代码

the htaccess code

     SSLProxyCheckPeerCN off
     SSLProxyCheckPeerExpire off
    RewriteEngine on
       RewriteBase /
    RewriteRule ^(.*)$ https://www.website.com/auto/$1 [P,L]
</IfModule>

我在服务器日志中收到一个错误:

and i am getting an error in the server log as:

无效的命令 'SSLProxyCheckPeerCN',可能拼写错误或由未包含在服务器配置中的模块定义"

"Invalid command 'SSLProxyCheckPeerCN', perhaps misspelled or defined by a module not included in the server configuration"

我该如何解决这个问题,任何帮助将不胜感激.

how can i solve this problem, any help will be greatly appreciated.

谢谢苏拉

推荐答案

您的 SSL 模块很可能没有加载.在 httpd.conf 文件

Your SSL module isn't loaded most probably. Uncomment the following in your httpd.conf file

LoadModule ssl_module modules/mod_ssl.so

这篇关于收到错误“无效的命令 'SSLProxyCheckPeerCN'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆