문제

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..

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:

"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.

thanks Suraj

도움이 되었습니까?

해결책

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

LoadModule ssl_module modules/mod_ssl.so
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top