有关mod_ssl的问题。郁闷

由 raullpq 在 12-09-2003 20:17 发表:

有关mod_ssl的问题。郁闷

使用的是apache2.0.48,编译的时候用的是DSO模式,然后用apxs动态新增了mod_ssl成功,但是编辑完httpd.conf时启动/www/bin/apachectl startssl却报错:

Syntax error on line 1064 of /www/conf/httpd.conf:

Invalid command 'SSLPassPhraseDialog', perhaps mis-spelled or defined by a module not included in the server configuration

相关配置行列出:(去掉了注释行)

264 LoadModule ssl_module modules/mod_ssl.so

1053

1<ifdefine ssl="">   
2  
31054 AddType application/x-x509-ca-cert .crt   
4  
51055 AddType application/x-pkcs7-crl .crl   
6  
71056 </ifdefine>

1057

1058

1059

 1<ifmodule mod_ssl.c="">   
 2  
 31064 SSLPassPhraseDialog builtin   
 4  
 51072 SSLSessionCache dbm:/www/logs/ssl_scache   
 6  
 71073 SSLSessionCacheTimeout 300   
 8  
 91078 SSLMutex file:/www/logs/ssl_mutex   
10  
111090 SSLRandomSeed startup builtin   
12  
131091 SSLRandomSeed connect builtin   
14  
151100 </ifmodule>

1101

1102

 1<ifdefine ssl="">   
 2  
 31103   
 4  
 51104 <virtualhost test.test.com:443="">   
 6  
 71107 DocumentRoot "/www/htdocs"   
 8  
 91108 ServerName test.test.com:443   
10  
111109 ServerAdmin [email protected]   
12  
131110 ErrorLog /www/logs/error_log   
14  
151111 TransferLog /www/logs/access_log   
16  
171116 SSLEngine on   
18  
191120 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL   
20  
211129 SSLCertificateFile /www/conf/server.crt   
22  
231137 SSLCertificateKeyFile /www/conf/server.key   
24  
251224 <files "\\.(cgi|shtml|phtml|php3?)$"="" ~="">   
26  
271225 SSLOptions +StdEnvVars   
28  
291226 </files>   
30  
311227 <directory "="" cgi-bin"="" www="">   
32  
331228 SSLOptions +StdEnvVars   
34  
351229 </directory>   
36  
371255 SetEnvIf User-Agent ".*MSIE.*" \   
38  
391256 nokeepalive ssl-unclean-shutdown \   
40  
411257 downgrade-1.0 force-response-1.0   
42  
431262 CustomLog /www/logs/ssl_request_log \   
44  
451263 "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"   
46  
471264   
48  
491265 </virtualhost>   
50  
511266   
52  
531267 </ifdefine>

由 raullpq 在 12-10-2003 11:11 发表:


没有人在apache2.0以上版本安装过?遇到过

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus