Apache1.3和Apache2的设定有所不同,最简单的设定如下所示
Apache1.3 设定例
<Location /cgi-bin>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
PerlSetupEnv On
</Location>
Apache2 设定例
<Location /cgi-bin>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
</Location>
本文地址:http://com.8s8s.com/it/it35294.htm