关于apache+mod_ssl+mod_perl的问题,谁有这方面的经验呢?
现象:访问静态html和普通cgi没有问题,但是访问配置成mod_perl的CGI脚本就有错误,apache的error_log记录为:
[Fri Sep 27 15:41:07 2002] [alert] httpd: Could not determine the server's fully qualified domain name, using 10.1.3.246 for ServerName
[Fri Sep 27 15:41:07 2002] [notice] Apache/1.3.26 (Unix) mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6g
configured -- resuming normal operations
[Fri Sep 27 15:41:07 2002] [notice] Accept mutex: fcntl (Default: fcntl)
[Fri Sep 27 15:41:18 2002] [notice] child pid 21170 exit signal Segmentation fault (11)
怀疑是mod_perl配置有问题!
我用的是apache-1.3.26,openssl-0.9.6g,mod_ssl-2.8.10-1.3.26,mod_perl-1.27,按照http://www.fanqiang.com/a6/b8/20010419/170446.html介绍的方法顺利编译和安装,但是运行有误:( (是不是因为我没有照上面说的安装rsaref ,我听说openssl-0.9.6g不需要这个)
附我对mod_perl和mod_ssl的配置选项,openssl用的是默认的config
mod_perl
perl Makefile.PL APACHE_PREFIX=/opt/apache APACHE_SRC=../apache_1.3.26/src USE_APACI=1
mod_ssl
configure --prefix=/opt/apache --with-apache=../apache_1.3.26 --with-ssl=/usr/local/ssl --enable-module=rewrite --activate-module=src/modules/perl/libperl.a